[ Debugging | Reference Manual | Alphabetic Index ]

debug_reset

Reset the debugger

Description

Reset the debugger. In particular, this includes: Note that debug_reset/0 just sets some parameters, it does not activate the debugger immediately. This only happens when a trace/1, debug/1, or predicate with the start_tracing flag is executed.

The debugger cannot be reset while it is active. The predicate will fail in this case.

Modes and Determinism

Fail Conditions

Debugger is active and cannot be reset at this time

Examples

[eclipse]: trace(true), trace(true), debug_reset, trace(true). 
  (1) 1 CALL  true   %> creep
  (1) 1 EXIT  true   %> creep
  (3) 1 CALL  true   %> creep
  (3) 1 EXIT  true   %> creep
  (1) 1 CALL  true   %> creep
  (1) 1 EXIT  true   %> creep

See Also

trace / 1, debug / 1