Open Bug 875034 (dbg-blackbox) Opened 12 years ago Updated 3 months ago

[meta] Debugger blackboxing

Categories

(DevTools :: Debugger, task, P5)

x86
macOS
task

Tracking

(Not tracked)

People

(Reporter: rcampbell, Unassigned)

References

(Depends on 15 open bugs)

Details

(Keywords: meta)

User Story

you want to debug your own code that calls into a library at various points and don't want to step through that alien code. The bug is in your stuff (you hope).
When debugging, it can be useful to "Step Around" library code. I.e., treat libraries as "Black Boxes" for the purposes of debugging. Use case: you want to debug your own code that calls into a library at various points and don't want to step through that alien code. The bug is in your stuff (you hope). Possible Implementation: It should be possible to implement this in the Debug Server by providing scripts that are known to be libraries. (UI could be a context menu on the sources to indicate that this is a library script) When running in Debug mode, when entering a frame, the Debug Server can check to see if this script url is one of the libraries and continue stepping until the current frame is in a different source url.
plus one that. I have been recently playing with jQuery a lot and debugging custom functions built around jQuery is a hell. Up to 10 stack frames on line 2 of jquery.min.js and then you finally press the step over button and miss the frame which you were actually looking into.
Assignee: nobody → nfitzgerald
Alias: blackbox
Summary: Blackbox Libraries in Debugger → [meta] Blackbox Libraries in Debugger
Priority: -- → P5
Assignee: nfitzgerald → nobody
Summary: [meta] Blackbox Libraries in Debugger → [meta] Blackboxing
Depends on: 952648
Depends on: 923802
Depends on: 905863
Alias: blackbox → dbg-blackbox
Is this bug restricted to blackboxing within the Debugger panel? If not, bug 1102797 should be blocking it. Sebastian
User Story: (updated)
Flags: needinfo?(nfitzgerald)
Flags: needinfo?(ejpbruel)
Sorry, wrong bug. The correct one is bug 905978. Sebastian
(In reply to Sebastian Zartner from comment #3) > Sorry, wrong bug. The correct one is bug 905978. > > Sebastian Yeah, this bug is restricted to blackboxing within the Debugger panel. But thank you very much for bringing that bug to my attention!
Flags: needinfo?(ejpbruel)
I mean, it seems like it makes sense to add that bug as a blocker just to keep it tracked, unless we want to add another meta meta blackboxing bug and start getting super bureaucratic and all that... Eddy?
Flags: needinfo?(nfitzgerald)
(In reply to Nick Fitzgerald [:fitzgen] from comment #5) > I mean, it seems like it makes sense to add that bug as a blocker just to > keep it tracked, unless we want to add another meta meta blackboxing bug and > start getting super bureaucratic and all that... > > Eddy? I agree that we shouldn't be overly bureaucratic about these things, but I'm a bit worried that I'll lose overview of what bugs belong to the debugger if we also start tracking non-debugger stuff under these meta bugs. On the other hand, blackboxing is a feature that primarily belongs to the debugger. The fact that we sometimes need to make changes in closely related components doesn't really change that, so I guess it wouldn't hurt to add this bug as a blocker. If we run into more of these 'related' bugs in the future, let's decide on a case by case basis whether to add them to one of these meta bugs or not. Does that sound reasonable for now?
Depends on: 905978
Depends on: 1111012
Summary: [meta] Blackboxing → [meta] Debugger blackboxing
Depends on: 1092863
Depends on: 1118152
No longer depends on: 1112435
Depends on: 1327720
Product: Firefox → DevTools
Depends on: 1327715
Depends on: 1360077
Depends on: 1327334
Type: defect → task
Depends on: 1570364
Depends on: 1577081
Depends on: 1581447
Depends on: 1608312
Depends on: 1625418
Depends on: 1642811
Depends on: 1748621
Depends on: 1745940
Depends on: 1690450
Depends on: 1748618
Depends on: 1748620
Depends on: 1746368
Depends on: 1752108
Depends on: 1761298
Severity: normal → S3
Depends on: 1824715
Depends on: 1828585
Depends on: 1828647
Depends on: 1828626
Depends on: 1829360
Depends on: 1830756
Depends on: 1831089
Depends on: 1824703
Depends on: 1824701
Depends on: 1824698
Depends on: 1832019
Depends on: 1834452
Depends on: 1836209
You need to log in before you can comment on or make changes to this bug.