Open Bug 1171326 Opened 5 years ago Updated 7 months ago

Break on function name

Categories

(DevTools :: Debugger, enhancement, P5)

41 Branch
enhancement

Tracking

(firefox41 affected)

Tracking Status
firefox41 --- affected

People

(Reporter: canuckistani, Unassigned)

References

(Blocks 1 open bug)

Details

From IRC -> "...we should have gdb style "break on <function name>""
Dupe of bug 1164880, which adds functions to the console:

debug(foo) // breaks whenever we enter foo
undebug(foo) // undo the above

?
(In reply to Nick Fitzgerald [:fitzgen][:nf] from comment #1)
> Dupe of bug 1164880, which adds functions to the console:
> 
> debug(foo) // breaks whenever we enter foo
> undebug(foo) // undo the above
> 
> ?

I'm not completely sure what the intended user experience should be - this idea came via a series of tubes from :ekr, so I'm ni'ing him.

Eric: see #c1 - would Firebug's debug / undebug console helpers fulfill this requirement? If so it looks like this is a dupe.
Flags: needinfo?(ekr)
Yes, it seems like that would work.
Flags: needinfo?(ekr)
(In reply to Eric Rescorla (:ekr) from comment #3)
> Yes, it seems like that would work.

Thanks. I'm still on the fence about duping this though - maybe we should log a followup bug for bug 1164880 where we consider exposing this in the debugger ui as well.
Product: Firefox → DevTools
Blocks: dbg-control
Type: defect → enhancement
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.