GDB: How to list all source files used for compilation
You are probably looking for info sources. info functions could also be helpful. Don’t forget you can do things like type break and then just press tab, which will list all relevant functions.
You are probably looking for info sources. info functions could also be helpful. Don’t forget you can do things like type break and then just press tab, which will list all relevant functions.
In your launch or attach debug task you can enter a “skipfiles” option which is “An array of file or folder names, or path globs, to skip when debugging.” For example, from skipping node internals during debugging “skipFiles”: [ “${workspaceFolder}/node_modules/**/*.js”, “${workspaceFolder}/yourLibToSkip/**/*.js” ] Also, there is a “magic reference” to the built-in core node modules you … Read more
Some general tips: Clear stacktrace.log, do grails run-app, then open stacktrace.log in a viewer (I prefer less stacktrace.log on linux)… once in your viewer, search for .groovy and .gsp… that generally brings you to what you actually care about. When a stacktrace refers to a line number in a GSP file, you should open that … Read more
You can always leave or enter TUI at any time durring debug session. For example you can do it with ctrl+x a key binding. 25.2 TUI Key Bindings.
The latest versions of xcode will let you create an AppleScript application but breakpoints in applescript don’t work since Apple has discontinued support for AppleScript debugging in xcode. Fallback: for simple “printf style” debugging you could use: display dialog “my variable: ” & myVar
I don’t know of a gcc option, but you should be able to run the application with gdb and then when it crashes, type where to take a look at the stack when it exited, which should get you close. $ gdb blah (gdb) run (gdb) where Edit for completeness: You should also make sure … Read more
NodeJS creates a v8debug global object when running in debug mode: node debug script.js So, a possible solution would be: var debug = typeof v8debug === ‘object’; For my use case, I use it because I want to avoid passing environment variables. My main node process starts child node processes and I want a node … Read more
Null array elements are hidden by default, you can disable it here:
For visual studio 2015 : 1.Open Exception settings window (it’s new in 2015) 2.Check All CLR Exceptions 3.If you don’t need visual studio to throw specific exceptions uncheck this
If you look in [File menu ->] Settings -> Debugger -> Stepping you will see a list “Do not step into these classes”, probably with “java.*” listed there. Is that the case? You can turn that off there. Apparently the debug information is not available. According to this thread: Sadly the JDK classes have debug … Read more