Marus / cortex-debug

Visual Studio Code extension for enhancing debug capabilities for Cortex-M Microcontrollers
MIT License
1.02k stars 240 forks source link

How to view the value of c++ standard container #1009

Open feng-xys opened 6 months ago

feng-xys commented 6 months ago

In other c++ debugging configurations, I can set the following parameter for gdb to allow me to see the value of the container, which is absent if I use cortex-debug.

"setupCommands": [ { // Display content in STL containers pretty "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ],