[Webkit-unassigned] [Bug 21449] Support conditional breakpoints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 7 15:46:36 PDT 2008


oliver at apple.com changed:

           What    |Removed                     |Added
                 CC|                            |oliver at apple.com

------- Comment #1 from oliver at apple.com  2008-10-07 15:46 PDT -------
I doubt this should be too hard for any one interested in implementing it.  A
couple of other things worth investigating are hit count based break points. 
eg. only trigger after n hits, every n-th hit, etc

I was thinking have breakpoints with actions would be worth while, however you
could emulate that with a conditional breakpoint akin to:
"alert('Foo!'); false' 
or similar would do the trick, but then i realised we should guard against:
function f() {
     <conditional breakpoint "f()"> return true;

Which would result in infinite recursion (although the re-entry guard would
catch it) which we may want to be more graceful in handling -- possibly
re-entry to the debugger through the debugger should just throw an uncatchable
exception (which would not be too difficult) which the debugger itself can
catch, although it would need to occur in C++ :-/

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list