File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 2020 "lint" : " tslint --fix --project tsconfig.json"
2121 },
2222 "dependencies" : {
23- "cdt-gdb-adapter" : " 0.0.14-next.8084f52 .0" ,
23+ "cdt-gdb-adapter" : " 0.0.14-next.5638382 .0" ,
2424 "vscode-debugadapter" : " ^1.26.0" ,
2525 "vscode-debugprotocol" : " ^1.26.0"
2626 },
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ export class CmsisDebugSession extends GDBDebugSession {
259259 await this . gdb . sendEnablePrettyPrint ( ) ;
260260
261261 if ( args . runToMain === true ) {
262- await mi . sendBreakOnFunction ( this . gdb ) ;
262+ await mi . sendBreakFunctionInsert ( this . gdb , 'main' ) ;
263263 }
264264
265265 this . sendEvent ( new OutputEvent ( `Image loaded: ${ args . program } ` ) ) ;
Original file line number Diff line number Diff line change @@ -46,11 +46,6 @@ export function sendTargetDownload(gdb: GDBBackend) {
4646 return gdb . sendCommand ( command ) ;
4747}
4848
49- export function sendBreakOnFunction ( gdb : GDBBackend , fn : string = 'main' ) {
50- const command = `-break-insert -t --function ${ fn } ` ;
51- return gdb . sendCommand ( command ) ;
52- }
53-
5449export function sendExecInterrupt ( gdb : GDBBackend , threadId ?: number ) {
5550 let command = '-exec-interrupt' ;
5651 if ( threadId ) {
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ builtin-modules@^1.1.1:
5555 resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
5656 integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=
5757
58- 59- version "0.0.14-next.8084f52 .0"
60- resolved "https://registry.yarnpkg.com/cdt-gdb-adapter/-/cdt-gdb-adapter-0.0.14-next.8084f52 .0.tgz#e54ba65ddb7c59f89374c5d2e77104056a3a3f03 "
61- integrity sha512-VxL0CNgNbDyYprDnibYipDDaaVlHk/6pqct54IuqNQFf2xGgB0HxFZ2ZMHt1L8HhIJ9kcPByTASrNVyvZNMbjQ ==
58+ 59+ version "0.0.14-next.5638382 .0"
60+ resolved "https://registry.yarnpkg.com/cdt-gdb-adapter/-/cdt-gdb-adapter-0.0.14-next.5638382 .0.tgz#43454b7907edde5cbb7bab575d23ed1a6d032f54 "
61+ integrity sha512-tci+ng6XA0zXWw4C+ML8q2FoiDR//QwF5OBrwNd8HUbYnLTF6SqOILuzHcFijRT/D0ajrIXFHWy5Krgm9zhxPQ ==
6262 dependencies :
6363 node-addon-api "^1.6.2"
6464 vscode-debugadapter "^1.37.1"
You can’t perform that action at this time.
0 commit comments