Author: julianalbo
Date: Wed Aug 20 14:45:57 2008
New Revision: 30404
Modified:
trunk/src/debug.c
Log:
change tracing control in debugger runloop, completing change accidentally
introduced in 30402
Modified: trunk/src/debug.c
==============================================================================
--- trunk/src/debug.c (original)
+++ trunk/src/debug.c Wed Aug 20 14:45:57 2008
@@ -400,6 +400,7 @@
/*while (!(interp->pdb->state & PDB_EXIT)) {*/
while (interp->pdb->state & PDB_STOPPED) {
const char * command;
+ interp->pdb->state &= ~PDB_TRACING;
PDB_get_command(interp);
command = interp->pdb->cur_command;
if (command[0] == '\0')
@@ -967,6 +968,7 @@
}
pdb->tracing = n;
pdb->debugee->run_core = PARROT_DEBUGGER_CORE;
+ pdb->state |= PDB_TRACING;
/* Clear the following when done some testing */