Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Debugger - Filter out the ending of the Module wrapper when using the list command #9773
Affected core subsystem(s)
Description of change
PR for #9768.
When inside the debugger, doing a
There is code currently to make sure that the first part of the Module wrapper is filtered out. that is located here: https://github.com/nodejs/node/blob/master/lib/_debugger.js#L1107
The code added filters out the very last line of the lines array, which is the ending of the module wrapper.
I did not add a test for this. I don't believe there was one that tests List anyways. If there needs to be one, i will try and look at the other debugger tests as an example