Curate a skip list for GDB
Categories
(Core :: JavaScript Engine, enhancement, P5)
Tracking
()
People
(Reporter: mgaudet, Unassigned)
References
(Blocks 1 open bug)
Details
GDB has a feature for skipping over functions which are rarely helpful to the task at hand.
An example I run into all the time are the constructors for our wrappers on calls; it would be nice to skip all the invocations of JS::Handle<*>::Handle
when stepping into a function, rather than having to go through one for each wrapped argument of the function being invoked.
We ought to curate this and check it in to make everyones lives easier when debugging.
Comment 1•4 years ago
|
||
Great idea, this has always bugged me. The ProtectedData::ref methods are another example of this.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
I've idly grumped at tromey about getting compiler support for this as an attribute, so we could annotate our code and then compatible gdbs/etc. would Just Get It. Never been quite motivated enough to do this work as the not-quite-as-ideal alternative, tho realistically it would have been a good time investment to do so years ago.
Comment 3•4 years ago
|
||
(In reply to Jeff Walden [:Waldo] from comment #2)
tho realistically it would have been a good time investment to do so years ago.
Yeah, I think "The second best time is now." definitely applies here :)
Reporter | ||
Comment 4•4 years ago
|
||
It's a great idea; though, I think that's a different bug with a different investment horizon.
Anyone volunteer to open it (what component would that even go under?) or shall I?
Reporter | ||
Comment 5•4 years ago
|
||
During All Hands I started looking at this; currently blocked a bit on this gdb bug.
Description
•