Skip to content

Commit 8fb537a

Browse files
author
dmi3
committed
Removed unused launch configuration for plugun CodeLLDB.
1 parent a3a6a6a commit 8fb537a

File tree

1 file changed

+1
-71
lines changed

1 file changed

+1
-71
lines changed

.vscode/launch.json

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -86,77 +86,7 @@
8686
//"set debug remote 1",
8787
"break main",
8888
]
89-
},
90-
91-
92-
//Конфигурация для плагина CodeLLDB
93-
{
94-
"preLaunchTask": "startOpenocd",
95-
"logging": {"trace": true, "engineLogging": true, "exceptions": true},
96-
97-
"name": "CodeLLDB Debug",
98-
"type": "lldb",
99-
"request": "custom",
100-
"targetCreateCommands": ["target create ${workspaceFolder}/Debug/example.elf"],
101-
"processCreateCommands": ["gdb-remote localhost:3333"],
102-
103-
"initCommands": [
104-
//"process plugin packet monitor reset halt",
105-
//"target modules load --load --set-pc-to-entry --slide 0 --file ${workspaceFolder}/Debug/example.elf",
106-
],
107-
},
108-
109-
110-
//Ещё конфигурация для плагина CodeLLDB
111-
{
112-
"preLaunchTask": "startOpenocd",
113-
"logging": {"trace": true, "engineLogging": true, "exceptions": true},
114-
"lldb.verboseLogging": true,
115-
116-
"name": "CodeLLDB Launch",
117-
"type": "lldb",
118-
"request": "launch",
119-
"cwd": "${workspaceFolder}",
120-
"program": "${workspaceFolder}/Debug/example.elf",
121-
122-
"stopOnEntry": true,
123-
"initCommands": [
124-
"target create ${workspaceFolder}/Debug/example.elf",
125-
"gdb-remote localhost:3333",
126-
127-
//"process launch ${workspaceFolder}/Debug/example.elf",
128-
//Это не нужно. Ошибка: error: 'A' packet returned an error: 8. Похоже что-то происходит с процессом lldb
129-
130-
131-
//!!Так не работает "process plugin packet monitor reset halt". error: command is not implemented :
132-
//"platform select remote-gdb-server",
133-
//"platform connect connect://localhost:3333",
134-
135-
136-
"target list",
137-
138-
"process plugin packet monitor reset halt",
139-
"target modules load --load --slide 0 --file /home/user/workspace/example/Debug/example.elf",
140-
141-
//"target modules load --load --set-pc-to-entry --slide 0 --file ${workspaceFolder}/Debug/example.elf",
142-
//Ошибка из-за --set-pc-to-entry: error: failed to set PC value to 0x10000000
143-
144-
"thread backtrace",
145-
146-
//"b main",
147-
//Ошибка OpenOCD (из-за того, что lldb не поддерживает rv64)
148-
//Error: Invalid breakpoint length 0
149-
//Error: can't add breakpoint: unknown reason
150-
151-
//"frame info",
152-
//Ошибка: error: invalid frame
153-
154-
//"register read pc",
155-
//Ошибка: error: invalid frame
156-
157-
//Сессия почему-то завершается...
158-
],
159-
},
89+
}
16090

16191
]
16292
}

0 commit comments

Comments
 (0)