-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: No
- VS Code Version: 1.104.3
- OS Version: Windows (WSL)
Steps to Reproduce:
- Reload VSCode window.
- Install lldb-dap extension and install latest binaries from LLVM release.
- Create test C++-program and compile it with debug symbols (
g++ -g main.cpp -o main.exe).
#include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
std::cout << "Hello, world!" << std::endl;
return 0;
}- Create launch configuration.
{
"type": "lldb-dap",
"request": "launch",
"name": "Launch (lldb-dap)",
"program": "${workspaceFolder}/main.exe",
"args": [],
"cwd": "${workspaceRoot}",
},- Set breakpoint on first line of main function and start debugging.
- Right click on line and select "Open disassembly view".
- Stop debugging.
- Start debugging again. You can see error message about incorrect request.
- Try scroll dissambly view (not working).
Debug adapter log:
1760027123.970161676 (stdio) --> {"command":"disassemble","arguments":{"memoryReference":"","offset":0,"instructionOffset":-50,"instructionCount":50,"resolveSymbols":true},"type":"request","seq":8}
1760027123.970287323 (stdio) queued (command=disassemble seq=8)
1760027123.970568419 (stdio) <-- {"body":{"error":{"format":"invalid arguments for request 'disassemble': malformed memory reference at arguments.memoryReference\n{\n \"instructionCount\": 50,\n \"instructionOffset\": -50,\n \"memoryReference\": /* error: malformed memory reference */ \"\",\n \"offset\": 0,\n \"resolveSymbols\": true\n}","id":3,"showUser":true}},"command":"disassemble","request_seq":8,"seq":0,"success":false,"type":"response"}
Origianl PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
