-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional debug output panels #3866
Comments
@TurkeyMan what debug extension are you referring to? |
This is the most mature one so far: https://github.com/WebFreak001/code-debug |
Naturally, the obvious reference point for disassembly/interleaved-source view look+feel is VS. |
I'll add one more note on a quality implementation of a disassembly window; the best disassembly viewers are able to store metadata about the sources and destination for each opcode, and also jump targets. The value of this, is that when you click on a line of the code, the IDE is able to highlight the sequence of registers as they flow from one operation to the next. It's also useful to highlight/isolate separate sequences, so you can follow the flow of a particular sequence of operations, since in optimised code, it is typical that many sequences of code are all interleaved, and they can only be followed by analysing the inputs and outputs of each opcode and how they flow into eachother. I raise this because it would be useful for the debug API to accept this information from the debug engine, and then the IDE/UI may do something to visualise the data if it likes. If the API is available such that the debug engine is able to provide this information, then it doesn't hurt :) |
@TurkeyMan you do not have to convince me how important a disassembly view – or the other views you've mentioned – are for specific debugging scenarios. I fully agree. However, we will not make a "disassembly view" (or any other debugger specific view) part of the VS Code debugger architecture. Instead we will provide architecture and API so that others can add these things. |
Sounds good. |
Ability to view variable memory consumed is exactly what I'm looking for. |
@erichiller +1 |
@tim37021 support for entering gdb commands in debug terminal is totally unrelated to this request. Please file this against the gdb debug extension. VS Code has no builtin "gdb" but the architecture already supports REPL via the debug console. |
vscode-cpptools currently has an open issue to address this one microsoft/vscode-cpptools#941 |
Since July 2017 VS Code Node Debugging has a "Loaded Scripts View" which has been implemented solely as an extension contribution. This proves that debug extensions are able to contribute custom views. |
It's hard to debug (native code) without:
Please make these panes available, or make it possible for plugins to implement them at separate dock-able panes?
The text was updated successfully, but these errors were encountered: