mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Forbid nested debuggers
This commit is contained in:
parent
4ee5433919
commit
14b0356dc5
4 changed files with 20 additions and 11 deletions
|
@ -153,6 +153,7 @@ struct DebugTrace {
|
|||
bool isError;
|
||||
};
|
||||
|
||||
|
||||
class EvalState : public std::enable_shared_from_this<EvalState>
|
||||
{
|
||||
public:
|
||||
|
@ -222,6 +223,7 @@ public:
|
|||
*/
|
||||
ReplExitStatus (* debugRepl)(ref<EvalState> es, const ValMap & extraEnv);
|
||||
bool debugStop;
|
||||
bool inDebugger = false;
|
||||
int trylevel;
|
||||
std::list<DebugTrace> debugTraces;
|
||||
std::map<const Expr*, const std::shared_ptr<const StaticEnv>> exprEnvs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue