Menu

#61 debug while skipping breakpoints

open
nobody
None
5
2006-07-27
2006-07-27
No

It would be useful to have an optional debugging mode
that ignored breakpoints. For example, sometimes I
just want to run in DEBUG mode so that I can get
detailed info if an error happens. But, I'd rather not
clear all the breakpoints since:
- there may be lots of them, spread out across the
calling chain
- I may want the breakpoints left in place, e.g. for
some detailed debugging that I may have to return to
shortly

An alternative is to have a special "run" mode that
preserves the entire stack when an error happens.
(It's the same idea, just viewed from another perspective.)

As with my earlier debug suggestion (#1392559 absolute
breakpoint), it's fine if this mode runs as slowly as
regular debug mode; the goal is flexibility not speed.

A simple UI suggestion:
user.prefs.stopAtBreakpoints = true (the default)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB