Hi,
I am new at vscode and I was looking for a way to debug my c code and it seems this is the best extension for it..
I am running the vscode in my mac and want to debug a code that runs on a device connected though Jtag...
I am able to debug using the command line and lldb but was not able to do so with the extension .
The commands I use to debug from terminal are:
1. lldb
2. target create <full path to symbol file>
3.gdb-remote localhost:8000
When using the extension I did the following configuration:
"configurations": [
{
"name": "Remote attach",
"type": "lldb",
"request": "custom",
"targetCreateCommands": ["target create <full path to symbol file>"],
"processCreateCommands": ["gdb-remote localhost:8000"]
}
I see that the debugger is able to attched. I get the disassembly only although I tries the source remapping and the most important issue is that as soon as I perform any operation such as:
1. step over
2. add breakpoints has no effect
anything else but play, it exit with an error: Process exited with code -1.
Can anyone please maybe help me to fix that?
Thanks!