cortex-debug: Breakpoint not triggering

When the debug starts, i get the following errors and breakpoints are not triggered If I hit pause I can see the callstack, so I assume the debugger is working.

This is a STM32F103 project

image

Log(window) shows this:

[renderer1] [error] No symbol table is loaded.  Use the "file" command. (from break-insert "c:\\Users\\HWSolinftec\\Documents\\GitLab\\Firmware\\0000_TagCarreta2\\Tests\\Src\\main.c:80"): Error: No symbol table is loaded.  Use the "file" command. (from break-insert "c:\\Users\\HWSolinftec\\Documents\\GitLab\\Firmware\\0000_TagCarreta2\\Tests\\Src\\main.c:80")
    at t.RawDebugSession.handleErrorResponse (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2953:952)
    at file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2953:250
    at async R.sendBreakpoints (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5947:681)
    at async q (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5982:944)
    at async j.sendBreakpoints (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5978:164)
    at async Promise.all (index 0)
    at async j.sendAllBreakpoints (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5977:855)
    at async file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:5954:1

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22

Most upvoted comments

Makefiles are more an art than science 😃 They are magical/wonderful as well as frustrating.

@haneefdm I would say more frustrating. To the point I built my own build runner cppbuild