Replies: 1 comment 1 reply
-
Please try the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
OS: Debian GNU/Linux
OS VERSION=10
Architecture: armv7l
VSCode version: 1.73.1
CodeLLDB version: installed from https://github.com/vadimcn/codelldb/releases/download/v1.9.0/codelldb-arm-linux.vsix
Compiler: lldb
Here are my VSCode settings.json, launch.json, and task.json
launch.json
{ "version": "0.2.0", "configurations": [ { "type": "lldb", "request": "launch", "name": "Debug", "program": "${workspaceFolder}/hello", "args": [], "cwd": "${workspaceFolder}", "sourceMap": { "/proc/self/cwd": "${workspaceFolder}" }, "sourceLanguages": [ "c" ], "preLaunchTask": "build with debug symbols", } ] }
settings.json
{ "lldb.displayFormat": "auto", "lldb.showDisassembly": "auto", "lldb.dereferencePointers": true, "lldb.consoleMode": "evaluate" }
task.json
{ "version": "2.0.0", "tasks": [ { "label": "build with debug symbols", "type": "shell", "command": "gcc -g hello.c -o hello", "group": { "kind": "build", "isDefault": true } } ] }
hello.c
#include <stdio.h> int main() { printf("Hello World!!!\n"); printf("Hello World!!!\n"); }
issue : i m trying to run c program while debugging i m able to generated the c executable file, but the breakpoint not hitting.
i have also checked with cli version to find path and it was currect
(lldb) breakpoint list --verbose Current breakpoints: 1: file = 'hello.c', line = 5, exact_match = 0 1.1: module = /home/debian/example/hello compile unit = hello.c
this is the result i got
Please Let me know if anything missed and show how to fix that issue.
Beta Was this translation helpful? Give feedback.
All reactions