-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Test Disassembly view #129161
Comments
@yuehuang010, @xisui-MSFT please let me know if my editing has resulted in omissions or errors that needs to be fixed. |
@yuehuang010, @xisui-MSFT I have created some issues and have pinged you all on those issues. |
@yannickowow @vadimcn @Trass3r feedback is very welcome if you got a chance to try the disassembly view out. Thanks a lot! |
Hi, first of all, thanks for your work! What I've encountered currently is:
Suggestions
|
It doesn't work at all for me on a simple WSL2 hello world CMake project. <-- C (disassemble-14): {"command":"disassemble","arguments":{"memoryReference":"0x0000000000202118","offset":0,"instructionOffset":-50,"instructionCount":100,"resolveSymbols":true},"type":"request","seq":14}
--> R (disassemble-14): {"type":"response","request_seq":14,"success":false,"command":"disassemble","message":"Unable to disassemble. The method or operation is not implemented.","body":{},"seq":668} So somewhere in
|
@yannickowow thanks a lot for your help, really appreciate it. Out of your findings:
This is a fair feature request, but I would not add it yet. Too advanced IMHO and can be later added
Good catch. Created #129574
This is captured via #129540
Created #129571
Can you please create an issue in the C++ repo? This works for mock debug
Created #129572
@Trass3r that sounds like a C++ issue. Can you please open a new issue in this repo https://github.com/microsoft/vscode-cpptools |
It works with my |
I did some retries using disassembly and source and yeah, it toggles the @Trass3r It looks like the issue is coming from C/C++ Extension.
I think, in this case, that you should use |
Ah yes my step granularity PR has only recently been merged. |
FYI.
|
Refs: #124163, #125737
Complexity: 4
Create Issue
Thanks to the C++ team (especially @yuehuang010, @xisui-MSFT) we've received PR #125737 which adds the frequently requested Disassembly View to VS Code.
The Disassembly View supports a single instance only and can be opened from an editor of an active debug session if the corresponding debug extension supports it. The view shows the disassembled source of the editor's content and supports instruction stepping and instruction breakpoints.
Today two debug extensions support the Disassembly View: "C++" and "Mock Debug" (shown in the following recording).
C++ setup
Mock Debug Setup
What to test:
Reference Links
The text was updated successfully, but these errors were encountered: