Comments (3)
For some reason it worked for a bit and it is hanging again now.. :(
from codelldb.
Log
Initial debug configuration: {
type: 'lldb',
request: 'launch',
name: "Debug executable 'run'",
cargo: {
args: [ 'build', '--bin=run', '--package=llama2' ],
filter: { name: 'run', kind: 'bin' }
},
args: [],
cwd: '${workspaceFolder}',
__configurationTarget: 6
}
Raw artifacts:
{
fileName: '/home/pi/llama2.rs/target/debug/run',
name: 'run',
kind: 'bin'
}
Filtered artifacts:
{
fileName: '/home/pi/llama2.rs/target/debug/run',
name: 'run',
kind: 'bin'
}
Resolved debug configuration: {
type: 'lldb',
request: 'launch',
name: "Debug executable 'run'",
args: [],
cwd: '${workspaceFolder}',
__configurationTarget: 6,
terminal: 'external',
relativePathBase: '/home/pi/llama2.rs',
program: '/home/pi/llama2.rs/target/debug/run',
sourceLanguages: [ 'rust' ],
_adapterSettings: {
displayFormat: 'auto',
showDisassembly: 'auto',
dereferencePointers: true,
suppressMissingSourceFiles: true,
evaluationTimeout: 5,
consoleMode: 'commands',
sourceLanguages: null,
terminalPromptClear: null,
evaluateForHovers: true,
commandCompletions: true,
reproducer: false
}
}
liblldb: /home/pi/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/lldb/lib/liblldb.so
environment: {}
settings: {
evaluateForHovers: true,
commandCompletions: true,
sourceLanguages: [ 'rust' ]
}
[DEBUG codelldb] Connecting to 127.0.0.1:33073
[DEBUG codelldb] New debug session
[DEBUG codelldb::dap_codec] --> {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"lldb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true},"type":"request","seq":1}
[DEBUG codelldb::dap_codec] <-- {"seq":1,"type":"response","request_seq":1,"success":true,"command":"initialize","body":{"exceptionBreakpointFilters":[{"default":true,"filter":"rust_panic","label":"Rust: on panic","supportsCondition":true}],"supportTerminateDebuggee":true,"supportsCancelRequest":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsDisassembleRequest":true,"supportsEvaluateForHovers":true,"supportsExceptionFilterOptions":true,"supportsExceptionInfoRequest":true,"supportsFunctionBreakpoints":true,"supportsGotoTargetsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsInstructionBreakpoints":true,"supportsLogPoints":true,"supportsReadMemoryRequest":true,"supportsSetVariable":true,"supportsSteppingGranularity":true,"supportsWriteMemoryRequest":true}}
[DEBUG codelldb::dap_codec] --> {"command":"launch","arguments":{"type":"lldb","request":"launch","name":"Debug executable 'run'","args":[],"cwd":"/home/pi/llama2.rs","__configurationTarget":6,"terminal":"external","relativePathBase":"/home/pi/llama2.rs","program":"/home/pi/llama2.rs/target/debug/run","sourceLanguages":["rust"],"_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"22ecdcf1-fdee-4740-875d-0b50e66ab471"},"type":"request","seq":2}
[DEBUG codelldb::dap_codec] <-- {"seq":2,"type":"event","event":"output","body":{"category":"console","output":"Console is in 'commands' mode, prefix expressions with '?'.\n"}}
INFO(Python) 20:35:03 formatters: Initializing
INFO(Python) 20:35:03 formatters.rust: Initializing
[DEBUG codelldb::dap_codec] <-- {"seq":3,"type":"event","event":"initialized"}
[DEBUG codelldb::debug_session] Debug event: 0x5594195f0838 Event: broadcaster = 0x55941a82fbb0 (lldb.target), type = 0x00000002 (modules-loaded), data = {run}
[DEBUG codelldb::dap_codec] <-- {"seq":4,"type":"event","event":"module","body":{"module":{"addressRange":"FFFFFFFFFFFFFFFF","id":"FFFFFFFFFFFFFFFF","name":"run","path":"/home/pi/llama2.rs/target/debug/run","symbolFilePath":"/home/pi/llama2.rs/target/debug/run","symbolStatus":"Symbols loaded."},"reason":"new"}}
[DEBUG codelldb::dap_codec] <-- {"seq":5,"type":"request","command":"runInTerminal","arguments":{"args":["/home/pi/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/codelldb","terminal-agent","--connect=42137"],"cwd":"","kind":"external","title":"Debug executable 'run'"}}
[DEBUG codelldb::dap_codec] --> {"command":"setBreakpoints","arguments":{"source":{"name":"run.rs","path":"/home/pi/llama2.rs/run.rs"},"lines":[464],"breakpoints":[{"line":464}],"sourceModified":false},"type":"request","seq":3}
[DEBUG codelldb::dap_codec] <-- {"seq":6,"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"line":464,"message":"Resolved locations: 0","verified":true}]}}
[DEBUG codelldb::debug_session] Debug event: 0x55941a744028 Event: broadcaster = 0x55941a82fbb0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 1 type: breakpoint added}
[DEBUG codelldb::dap_codec] --> {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}
[DEBUG codelldb::dap_codec] --> {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":5}
[DEBUG codelldb::dap_codec] --> {"command":"setInstructionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":6}
[DEBUG codelldb::dap_codec] --> {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[{"filterId":"rust_panic"}]},"type":"request","seq":7}
[DEBUG codelldb::dap_codec] <-- {"seq":7,"type":"response","request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
[DEBUG codelldb::dap_codec] <-- {"seq":8,"type":"response","request_seq":5,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]}}
[DEBUG codelldb::dap_codec] <-- {"seq":9,"type":"response","request_seq":6,"success":true,"command":"setInstructionBreakpoints","body":{"breakpoints":[]}}
[DEBUG codelldb::dap_codec] <-- {"seq":10,"type":"response","request_seq":7,"success":true,"command":"setExceptionBreakpoints"}
[DEBUG codelldb::debug_session] Debug event: 0x55941a744028 Event: broadcaster = 0x55941a82fbb0 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 2 type: breakpoint added}
[DEBUG codelldb::dap_codec] --> {"type":"response","seq":8,"command":"runInTerminal","request_seq":5,"success":false,"message":"spawn xterm ENOENT"}
[ERROR codelldb::terminal] [61] spawn xterm ENOENT
[DEBUG codelldb::dap_codec] --> {"command":"configurationDone","type":"request","seq":9}
from codelldb.
Ah, spawn xterm ENOENT
tells the problem
Changed to integrated worked. Not sure why it was defaulted to empty
from codelldb.
Related Issues (20)
- CodeLLDB not working with Clang 15.0.0 x86_64-apple-darwin23.1.0 HOT 2
- LLVM ERROR: IO failure on output stream: Broken pipe HOT 2
- Does not work properly under macos HOT 4
- Included LLDB segfault when SBTypeSynthetic.IsClassCode is called HOT 2
- Could not load liblldb.dll (err=0x0000007E) when trying to run Rust EXE HOT 4
- error: Error reading commands from file .lldbinit - file not found
- Fail to parse simple breakpoint condition HOT 1
- Add color to rustc output
- Entries in call stack for Swift async functions starts with “await resume partial function for” HOT 2
- launch.json "inputs" are not resolved in cargo invocation parameters
- Can not build this project since dependency error (weaklink) HOT 1
- VS Code doesn't clear the extension folder after upgrading or uninstalling HOT 2
- lldb debugserver fails to attach only over remote session HOT 1
- View Binary Data shows "LOADING" during debugging in kernel space through QEMU GDB Stub
- Doesn't work for "cargo test" when the project is in a sub-directory of ${workspaceFolder} HOT 2
- Different backend for different launch configurations
- Allow use of system python and lldb
- Prevent truncation of values in the Debug Watch
- Unable to Debug: Reason: no LC_RPATH's found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codelldb.