mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-23 14:28:18 +00:00
move image up and turn it into a link to itself
This commit is contained in:
parent
5a530aa6d6
commit
afcf7ab134
1 changed files with 2 additions and 2 deletions
|
@ -50,6 +50,8 @@ For this tutorial, we'll be using the `beginner/` applications, so let's modify
|
||||||
|
|
||||||
3. From the top menu, pick "Run" > "Start Debugging".
|
3. From the top menu, pick "Run" > "Start Debugging".
|
||||||
|
|
||||||
|
[![GDB session within VS code using the cortex-debug extension](code-gdb.png)](./code-gdb.png)
|
||||||
|
|
||||||
You are now in a GDB session. Switch to the "Run" view (4th icon from the top on the left sidebar)
|
You are now in a GDB session. Switch to the "Run" view (4th icon from the top on the left sidebar)
|
||||||
and you'll see debug information like the call stack, local variables, breakpoints and CPU registers
|
and you'll see debug information like the call stack, local variables, breakpoints and CPU registers
|
||||||
on the left side. On the bottom panel, you can switch to the "Debug console" to issue commands to
|
on the left side. On the bottom panel, you can switch to the "Debug console" to issue commands to
|
||||||
|
@ -57,8 +59,6 @@ the GDB server. Near the top of the GUI you'll find a row of buttons to navigate
|
||||||
(step, continue, etc.). Breakpoints can be added by clicking to the left of line numbers in the file
|
(step, continue, etc.). Breakpoints can be added by clicking to the left of line numbers in the file
|
||||||
view.
|
view.
|
||||||
|
|
||||||
![GDB session within VS code using the cortex-debug extension](code-gdb.png)
|
|
||||||
|
|
||||||
## Debugging a different program
|
## Debugging a different program
|
||||||
|
|
||||||
To debug a different program within the `beginner/apps` folder you'll need to modify the
|
To debug a different program within the `beginner/apps` folder you'll need to modify the
|
||||||
|
|
Loading…
Reference in a new issue