-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
bugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.
Milestone
Description
Environment
- OS and version: Linux fedora 6.12.13-200.fc41.x86_64
- VS Code: Version: 1.97.2 Commit: e54c774e0add60467559eb0d1e229c6452cf8447
- C/C++ extension: both preRelease 1.24.1 and release 1.23.6
- OS and version of remote machine (if applicable): Open On-Chip Debugger 0.12.0; Nucleo-H743ZI2 board
- GDB / LLDB version: GNU gdb (Fedora Linux) 15.2-4.fc41
Bug Summary and Steps to Reproduce
Bug Summary:
When I setting the svdPath
property in launch.json, %c_cpp.debuggers.cppdbg.visualizerFile.description
is displayed when hovering over it, which is not the correct prompt.When start debugging , the register view does not show the corresponding peripheral registers.I know that the [Arm Embedded Debugger] extension should set the svd properties correctly,but the IntelliSense under cpp extension shows svdPath is available, it should work correctly
Steps to reproduce:
- In this environment... arm-none-eabi-gcc + gdb + openocd
- With this config...
"svdPath": "/opt/sdk/Keil.STM32H7xx_DFP.4.0.0/CMSIS/SVD/STM32H743.svd"
- Do 'run > start debugging'
- See error... no peripheral registers display in register view and no detail info when hovering on
svdPath
in launch.json
Debugger Configurations
{
"name":"(openocd) Launch",
"type": "cppdbg",
"request": "launch",
//"program": "${command:cmake.launchTargetPath}", /* auto launch cmake build */
"program": "${workspaceFolder}/build/Debug/${workspaceFolderBasename}.elf", /* manual launch cmake build */
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"externalConsole": false,
"MIMode": "gdb",
"targetArchitecture": "arm",
//"miDebuggerServerAddress": "localhost:3333", /*VS use target remote as default*/
"svdPath": "/opt/sdk/Keil.STM32H7xx_DFP.4.0.0/CMSIS/SVD/STM32H743.svd",
"miDebuggerPath": "/usr/bin/gdb",
"debugServerPath": "/usr/bin/openocd",
"debugServerArgs": "-f interface/stlink.cfg -f target/stm32h7x.cfg -c \"reset_config srst_only\"",
"serverStarted": "Info : Listening on port \\d+ for gdb connections",
"filterStderr": true,
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
},
{
"description": "Use extended-remote",
"text": "target extended-remote :3333",
"ignoreFailures": true
}
]
}
Debugger Logs
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (51) LaunchOptions{\"name\":\"(openocd) Launch\",\"type\":\"cppdbg\",\"request\":\"launch\",\"program\":\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/build/Debug/STM32H7_GPIO_EXTI.elf\",\"args\":[],\"stopAtEntry\":false,\"cwd\":\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI\",\"externalConsole\":false,\"MIMode\":\"gdb\",\"targetArchitecture\":\"arm\",\"svdPath\":\"/opt/sdk/Keil.STM32H7xx_DFP.4.0.0/CMSIS/SVD/STM32H743.svd\",\"miDebuggerPath\":\"/usr/bin/gdb\",\"debugServerPath\":\"/usr/bin/openocd\",\"debugServerArgs\":\"-f interface/stlink.cfg -f target/stm32h7x.cfg -c \\\"reset_config srst_only\\\"\",\"serverStarted\":\"Info : Listening on port \\\\d+ for gdb connections\",\"filterStderr\":true,\"setupCommands\":[{\"description\":\"Enable pretty-printing for gdb\",\"text\":\"-enable-pretty-printing\",\"ignoreFailures\":true},{\"description\":\"Set Disassembly Flavor to Intel\",\"text\":\"-gdb-set disassembly-flavor intel\",\"ignoreFailures\":true},{\"description\":\"Use extended-remote\",\"text\":\"target extended-remote :3333\",\"ignoreFailures\":true}],\"logging\":{\"engineLogging\":true,\"trace\":true,\"traceResponse\":true},\"__configurationTarget\":6,\"__sessionId\":\"72ec6f83-7081-476e-90ef-61699bf710d7\"}\n"},"seq":2}
1: (51) LaunchOptions{"name":"(openocd) Launch","type":"cppdbg","request":"launch","program":"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/build/Debug/STM32H7_GPIO_EXTI.elf","args":[],"stopAtEntry":false,"cwd":"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI","externalConsole":false,"MIMode":"gdb","targetArchitecture":"arm","svdPath":"/opt/sdk/Keil.STM32H7xx_DFP.4.0.0/CMSIS/SVD/STM32H743.svd","miDebuggerPath":"/usr/bin/gdb","debugServerPath":"/usr/bin/openocd","debugServerArgs":"-f interface/stlink.cfg -f target/stm32h7x.cfg -c \"reset_config srst_only\"","serverStarted":"Info : Listening on port \\d+ for gdb connections","filterStderr":true,"setupCommands":[{"description":"Enable pretty-printing for gdb","text":"-enable-pretty-printing","ignoreFailures":true},{"description":"Set Disassembly Flavor to Intel","text":"-gdb-set disassembly-flavor intel","ignoreFailures":true},{"description":"Use extended-remote","text":"target extended-remote :3333","ignoreFailures":true}],"logging":{"engineLogging":true,"trace":true,"traceResponse":true},"__configurationTarget":6,"__sessionId":"72ec6f83-7081-476e-90ef-61699bf710d7"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (102) Starting: \"/usr/bin/openocd\" -f interface/stlink.cfg -f target/stm32h7x.cfg -c \"reset_config srst_only\"\n"},"seq":4}
1: (102) Starting: "/usr/bin/openocd" -f interface/stlink.cfg -f target/stm32h7x.cfg -c "reset_config srst_only"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (231) Starting: \"/usr/bin/gdb\" --interpreter=mi\n"},"seq":6}
1: (231) Starting: "/usr/bin/gdb" --interpreter=mi
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (233) DebuggerPid=128048\n"},"seq":8}
1: (233) DebuggerPid=128048
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (280) ->=thread-group-added,id=\"i1\"\n"},"seq":10}
1: (280) ->=thread-group-added,id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (282) ->~\"GNU gdb (Fedora Linux) 15.2-4.fc41\\n\"\n"},"seq":12}
1: (282) ->~"GNU gdb (Fedora Linux) 15.2-4.fc41\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (282) ->~\"Copyright (C) 2024 Free Software Foundation, Inc.\\n\"\n"},"seq":14}
1: (282) ->~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (282) ->~\"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\\nThis is free software: you are free to change and redistribute it.\\nThere is NO WARRANTY, to the extent permitted by law.\"\n"},"seq":16}
1: (282) ->~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (282) ->~\"\\nType \\\"show copying\\\" and \\\"show warranty\\\" for details.\\n\"\n"},"seq":18}
1: (282) ->~"\nType \"show copying\" and \"show warranty\" for details.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (282) ->~\"This GDB was configured as \\\"x86_64-redhat-linux-gnu\\\".\\n\"\n"},"seq":20}
1: (282) ->~"This GDB was configured as \"x86_64-redhat-linux-gnu\".\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->~\"Type \\\"show configuration\\\" for configuration details.\\n\"\n"},"seq":22}
1: (283) ->~"Type \"show configuration\" for configuration details.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->~\"For bug reporting instructions, please see:\\n\"\n"},"seq":24}
1: (283) ->~"For bug reporting instructions, please see:\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->~\"<https://www.gnu.org/software/gdb/bugs/>.\\n\"\n"},"seq":26}
1: (283) ->~"<https://www.gnu.org/software/gdb/bugs/>.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->~\"Find the GDB manual and other documentation resources online at:\\n <\"\n"},"seq":28}
1: (283) ->~"Find the GDB manual and other documentation resources online at:\n <"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->~\"http://www.gnu.org/software/gdb/documentation/>.\\n\\n\"\n"},"seq":30}
1: (283) ->~"http://www.gnu.org/software/gdb/documentation/>.\n\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->~\"For help, type \\\"help\\\".\\n\"\n"},"seq":32}
1: (283) ->~"For help, type \"help\".\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->~\"Type \\\"apropos word\\\" to search for commands related to \\\"word\\\".\\n\"\n"},"seq":34}
1: (283) ->~"Type \"apropos word\" to search for commands related to \"word\".\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (283) ->(gdb)\n"},"seq":36}
1: (283) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (286) <-1001-gdb-set mi-async on\n"},"seq":38}
1: (286) <-1001-gdb-set mi-async on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (286) ->1001^done\n"},"seq":40}
1: (286) ->1001^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (287) ->(gdb)\n"},"seq":42}
1: (287) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (288) 1001: elapsed time 3\n"},"seq":44}
1: (288) 1001: elapsed time 3
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (293) <-1002-enable-pretty-printing\n"},"seq":46}
1: (293) <-1002-enable-pretty-printing
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (293) ->1002^done\n"},"seq":48}
1: (293) ->1002^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (293) ->(gdb)\n"},"seq":50}
1: (293) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (293) 1002: elapsed time 0\n"},"seq":52}
1: (293) 1002: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (294) <-1003-gdb-set disassembly-flavor intel\n"},"seq":54}
1: (294) <-1003-gdb-set disassembly-flavor intel
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (294) ->1003^done\n"},"seq":56}
1: (294) ->1003^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (294) ->(gdb)\n"},"seq":58}
1: (294) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (294) 1003: elapsed time 0\n"},"seq":60}
1: (294) 1003: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (295) <-1004-interpreter-exec console \"target extended-remote :3333\"\n"},"seq":62}
1: (295) <-1004-interpreter-exec console "target extended-remote :3333"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (297) ->~\"Remote debugging using :3333\\n\"\n"},"seq":64}
1: (297) ->~"Remote debugging using :3333\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (320) ->=thread-group-started,id=\"i1\",pid=\"42000\"\n"},"seq":66}
1: (320) ->=thread-group-started,id="i1",pid="42000"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (321) ->&\"warning: No executable has been specified and target does not support\\ndetermining executable automatically. Try using the \\\"file\\\" command.\"\n"},"seq":68}
1: (321) ->&"warning: No executable has been specified and target does not support\ndetermining executable automatically. Try using the \"file\" command."
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (321) ->&\"\\n\"\n"},"seq":70}
1: (321) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (321) ->=thread-created,id=\"1\",group-id=\"i1\"\n"},"seq":72}
1: (321) ->=thread-created,id="1",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (327) ->~\"0x0800039a in ?? ()\\n\"\n"},"seq":74}
1: (327) ->~"0x0800039a in ?? ()\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (327) ->*stopped,frame={addr=\"0x0800039a\",func=\"??\",args=[],arch=\"arm\"},thread-id=\"1\",stopped-threads=\"all\"\n"},"seq":76}
1: (327) ->*stopped,frame={addr="0x0800039a",func="??",args=[],arch="arm"},thread-id="1",stopped-threads="all"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (327) ->1004^done\n"},"seq":78}
1: (327) ->1004^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (327) ->(gdb)\n"},"seq":80}
1: (327) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (330) 1004: elapsed time 34\n"},"seq":82}
1: (330) 1004: elapsed time 34
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (330) <-1005-thread-info 1\n"},"seq":84}
1: (330) <-1005-thread-info 1
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (331) <-1006-interpreter-exec console \"set pagination off\"\n"},"seq":86}
1: (331) <-1006-interpreter-exec console "set pagination off"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (331) ->1005^done,threads=[{id=\"1\",target-id=\"Remote target\",frame={level=\"0\",addr=\"0x0800039a\",func=\"??\",args=[],arch=\"arm\"},state=\"stopped\"}]\n"},"seq":88}
1: (331) ->1005^done,threads=[{id="1",target-id="Remote target",frame={level="0",addr="0x0800039a",func="??",args=[],arch="arm"},state="stopped"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (331) ->(gdb)\n"},"seq":90}
1: (331) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (331) ->=cmd-param-changed,param=\"pagination\",value=\"off\"\n"},"seq":92}
1: (331) ->=cmd-param-changed,param="pagination",value="off"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (331) ->1006^done\n"},"seq":94}
1: (331) ->1006^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (332) ->(gdb)\n"},"seq":96}
1: (332) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (332) 1005: elapsed time 1\n"},"seq":98}
1: (332) 1005: elapsed time 1
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (334) 1006: elapsed time 3\n"},"seq":100}
1: (334) 1006: elapsed time 3
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (334) <-1007-gdb-set auto-solib-add on\n"},"seq":102}
1: (334) <-1007-gdb-set auto-solib-add on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (334) ->1007^done\n"},"seq":104}
1: (334) ->1007^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (334) ->(gdb)\n"},"seq":106}
1: (334) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (334) 1007: elapsed time 0\n"},"seq":108}
1: (334) 1007: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) <-1008-gdb-set solib-search-path /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/build/Debug:\n"},"seq":110}
1: (335) <-1008-gdb-set solib-search-path /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/build/Debug:
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) ->1008^done\n"},"seq":112}
1: (335) ->1008^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) ->(gdb)\n"},"seq":114}
1: (335) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) 1008: elapsed time 0\n"},"seq":116}
1: (335) 1008: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) <-1009-environment-cd /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI\n"},"seq":118}
1: (335) <-1009-environment-cd /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) ->1009^done\n"},"seq":120}
1: (335) ->1009^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) ->(gdb)\n"},"seq":122}
1: (335) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (335) 1009: elapsed time 0\n"},"seq":124}
1: (335) 1009: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (336) <-1010-file-exec-and-symbols /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/build/Debug/STM32H7_GPIO_EXTI.elf\n"},"seq":126}
1: (336) <-1010-file-exec-and-symbols /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/build/Debug/STM32H7_GPIO_EXTI.elf
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (358) ->1010^done\n"},"seq":128}
1: (358) ->1010^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (358) ->(gdb)\n"},"seq":130}
1: (358) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (358) 1010: elapsed time 22\n"},"seq":132}
1: (358) 1010: elapsed time 22
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (358) <-1011-interpreter-exec console \"show architecture\"\n"},"seq":134}
1: (358) <-1011-interpreter-exec console "show architecture"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (359) ->~\"The target architecture is set to \\\"auto\\\" (currently \\\"armv7e-m\\\").\\n\"\n"},"seq":136}
1: (359) ->~"The target architecture is set to \"auto\" (currently \"armv7e-m\").\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (359) ->1011^done\n"},"seq":138}
1: (359) ->1011^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (359) ->(gdb)\n"},"seq":140}
1: (359) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (359) 1011: elapsed time 0\n"},"seq":142}
1: (359) 1011: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (360) <-1012-break-insert -f main\n"},"seq":144}
1: (360) <-1012-break-insert -f main
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (362) ->~\"Note: automatically using hardware breakpoints for read-only addresses.\\n\"\n"},"seq":146}
1: (362) ->~"Note: automatically using hardware breakpoints for read-only addresses.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (370) ->1012^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0800036c\",func=\"main\",file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"53\",thread-groups=[\"i1\"],times=\"0\",original-location=\"main\"}\n"},"seq":148}
1: (370) ->1012^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0800036c",func="main",file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="53",thread-groups=["i1"],times="0",original-location="main"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (371) ->(gdb)\n"},"seq":150}
1: (371) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (371) 1012: elapsed time 10\n"},"seq":152}
1: (371) 1012: elapsed time 10
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (374) Send Event AD7EngineCreateEvent\n"},"seq":154}
1: (374) Send Event AD7EngineCreateEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (375) Send Event AD7ProgramCreateEvent\n"},"seq":156}
1: (375) Send Event AD7ProgramCreateEvent
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Launch","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"17.12.21003.1","VS.Diagnostics.Debugger.HostVersion":"17.12.21003.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Launch.Duration":332,"VS.Diagnostics.Debugger.MIMode":"gdb","VS.Diagnostics.Debugger.FrameworkVersion":"8.0.824.36612"}},"seq":158}
--> R (launch-2): {"type":"response","request_seq":2,"success":true,"command":"launch","body":{},"seq":160}
--> E (initialized): {"type":"event","event":"initialized","body":{},"seq":162}
<-- C (setBreakpoints-3): {"command":"setBreakpoints","arguments":{"source":{"name":"main.c","path":"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c"},"lines":[85,95],"breakpoints":[{"line":85},{"line":95}],"sourceModified":false},"type":"request","seq":3}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (399) <-1013-break-insert -f main.c:85\n"},"seq":165}
1: (399) <-1013-break-insert -f main.c:85
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (402) ->1013^done,bkpt={number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0800039a\",func=\"main\",file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"85\",thread-groups=[\"i1\"],times=\"0\",original-location=\"main.c:85\"}\n"},"seq":167}
1: (402) ->1013^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0800039a",func="main",file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="85",thread-groups=["i1"],times="0",original-location="main.c:85"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (402) ->(gdb)\n"},"seq":169}
1: (402) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (402) 1013: elapsed time 2\n"},"seq":171}
1: (402) 1013: elapsed time 2
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (407) <-1014-symbol-list-lines /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\n"},"seq":173}
1: (407) <-1014-symbol-list-lines /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (408) ->1014^done,lines=[{pc=\"0x08000368\",line=\"51\"},{pc=\"0x0800036c\",line=\"53\"},{pc=\"0x08000370\",line=\"56\"},{pc=\"0x08000374\",line=\"67\"},{pc=\"0x08000378\",line=\"70\"},{pc=\"0x0800037c\",line=\"73\"},{pc=\"0x08000382\",line=\"74\"},{pc=\"0x08000388\",line=\"75\"},{pc=\"0x0800038e\",line=\"78\"},{pc=\"0x08000392\",line=\"83\"},{pc=\"0x08000396\",line=\"83\"},{pc=\"0x0800039a\",line=\"85\"},{pc=\"0x080003a0\",line=\"86\"},{pc=\"0x080003a6\",line=\"87\"},{pc=\"0x080003ac\",line=\"90\"},{pc=\"0x080003b4\",line=\"92\"},{pc=\"0x080003b8\",line=\"92\"},{pc=\"0x080003bc\",line=\"95\"},{pc=\"0x080003c2\",line=\"96\"},{pc=\"0x080003c8\",line=\"97\"},{pc=\"0x080003ce\",line=\"100\"},{pc=\"0x080003d4\",line=\"101\"},{pc=\"0x080003da\",line=\"102\"},{pc=\"0x080003e0\",line=\"105\"},{pc=\"0x080003e6\",line=\"106\"},{pc=\"0x080003ec\",line=\"107\"},{pc=\"0x080003f2\",line=\"110\"},{pc=\"0x080003fa\",line=\"113\"},{pc=\"0x08000400\",line=\"83\"},{pc=\"0x08000408\",line=\"0\"},{pc=\"0x08000408\",line=\"126\"},{pc=\"0x0800040c\",line=\"128\"},{pc=\"0x08000412\",line=\"129\"},{pc=\"0x08000416\",line=\"0\"},{pc=\"0x08000418\",line=\"157\"},{pc=\"0x0800041e\",line=\"160\"},{pc=\"0x08000424\",line=\"161\"},{pc=\"0x08000432\",line=\"165\"},{pc=\"0x08000464\",line=\"167\"},{pc=\"0x08000474\",line=\"170\"},{pc=\"0x08000478\",line=\"171\"},{pc=\"0x0800047e\",line=\"172\"},{pc=\"0x08000482\",line=\"173\"},{pc=\"0x08000486\",line=\"174\"},{pc=\"0x0800048a\",line=\"175\"},{pc=\"0x0800048e\",line=\"177\"},{pc=\"0x08000492\",line=\"178\"},{pc=\"0x08000498\",line=\"179\"},{pc=\"0x0800049c\",line=\"180\"},{pc=\"0x080004a0\",line=\"181\"},{pc=\"0x080004a4\",line=\"182\"},{pc=\"0x080004a8\",line=\"184\"},{pc=\"0x080004ac\",line=\"185\"},{pc=\"0x080004b0\",line=\"186\"},{pc=\"0x080004c0\",line=\"187\"},{pc=\"0x080004c8\",line=\"189\"},{pc=\"0x080004cc\",line=\"193\"},{pc=\"0x080004d0\",line=\"196\"},{pc=\"0x080004d4\",line=\"197\"},{pc=\"0x080004d8\",line=\"198\"},{pc=\"0x080004dc\",line=\"199\"},{pc=\"0x080004e0\",line=\"200\"},{pc=\"0x080004e4\",line=\"201\"},{pc=\"0x080004ea\",line=\"202\"},{pc=\"0x080004ee\",line=\"203\"},{pc=\"0x08000500\",line=\"204\"},{pc=\"0x08000508\",line=\"206\"},{pc=\"0x0800050c\",line=\"210\"},{pc=\"0x08000518\",line=\"213\"},{pc=\"0x08000536\",line=\"216\"},{pc=\"0x0800053a\",line=\"218\"},{pc=\"0x08000550\",line=\"0\"},{pc=\"0x08000550\",line=\"225\"},{pc=\"0x08000556\",line=\"229\"},{pc=\"0x08000574\",line=\"232\"},{pc=\"0x0800057a\",line=\"233\"},{pc=\"0x0800057e\",line=\"234\"},{pc=\"0x08000584\",line=\"235\"},{pc=\"0x0800058e\",line=\"238\"},{pc=\"0x08000598\",line=\"239\"},{pc=\"0x0800059e\",line=\"240\"},{pc=\"0x080005b0\",line=\"0\"},{pc=\"0x080005b0\",line=\"248\"},{pc=\"0x080005ba\",line=\"249\"},{pc=\"0x080005c2\",line=\"252\"},{pc=\"0x080005ca\",line=\"252\"},{pc=\"0x080005ce\",line=\"254\"},{pc=\"0x080005e0\",line=\"0\"},{pc=\"0x080005e0\",line=\"262\"},{pc=\"0x080005e6\",line=\"0\"},{pc=\"0x080006ac\",line=\"268\"},{pc=\"0x080006bc\",line=\"0\"},{pc=\"0x080006bc\",line=\"277\"},{pc=\"0x080006c2\",line=\"281\"},{pc=\"0x080006c6\",line=\"284\"},{pc=\"0x080006ca\",line=\"285\"},{pc=\"0x080006ce\",line=\"286\"},{pc=\"0x080006d2\",line=\"287\"},{pc=\"0x080006d6\",line=\"288\"},{pc=\"0x080006da\",line=\"289\"},{pc=\"0x080006de\",line=\"290\"},{pc=\"0x080006e2\",line=\"291\"},{pc=\"0x080006e6\",line=\"292\"},{pc=\"0x080006ea\",line=\"293\"},{pc=\"0x080006ee\",line=\"294\"},{pc=\"0x080006f2\",line=\"296\"},{pc=\"0x080006fa\",line=\"299\"},{pc=\"0x08000700\",line=\"300\"},{pc=\"0x08000708\",line=\"0\"}]\n"},"seq":175}
1: (408) ->1014^done,lines=[{pc="0x08000368",line="51"},{pc="0x0800036c",line="53"},{pc="0x08000370",line="56"},{pc="0x08000374",line="67"},{pc="0x08000378",line="70"},{pc="0x0800037c",line="73"},{pc="0x08000382",line="74"},{pc="0x08000388",line="75"},{pc="0x0800038e",line="78"},{pc="0x08000392",line="83"},{pc="0x08000396",line="83"},{pc="0x0800039a",line="85"},{pc="0x080003a0",line="86"},{pc="0x080003a6",line="87"},{pc="0x080003ac",line="90"},{pc="0x080003b4",line="92"},{pc="0x080003b8",line="92"},{pc="0x080003bc",line="95"},{pc="0x080003c2",line="96"},{pc="0x080003c8",line="97"},{pc="0x080003ce",line="100"},{pc="0x080003d4",line="101"},{pc="0x080003da",line="102"},{pc="0x080003e0",line="105"},{pc="0x080003e6",line="106"},{pc="0x080003ec",line="107"},{pc="0x080003f2",line="110"},{pc="0x080003fa",line="113"},{pc="0x08000400",line="83"},{pc="0x08000408",line="0"},{pc="0x08000408",line="126"},{pc="0x0800040c",line="128"},{pc="0x08000412",line="129"},{pc="0x08000416",line="0"},{pc="0x08000418",line="157"},{pc="0x0800041e",line="160"},{pc="0x08000424",line="161"},{pc="0x08000432",line="165"},{pc="0x08000464",line="167"},{pc="0x08000474",line="170"},{pc="0x08000478",line="171"},{pc="0x0800047e",line="172"},{pc="0x08000482",line="173"},{pc="0x08000486",line="174"},{pc="0x0800048a",line="175"},{pc="0x0800048e",line="177"},{pc="0x08000492",line="178"},{pc="0x08000498",line="179"},{pc="0x0800049c",line="180"},{pc="0x080004a0",line="181"},{pc="0x080004a4",line="182"},{pc="0x080004a8",line="184"},{pc="0x080004ac",line="185"},{pc="0x080004b0",line="186"},{pc="0x080004c0",line="187"},{pc="0x080004c8",line="189"},{pc="0x080004cc",line="193"},{pc="0x080004d0",line="196"},{pc="0x080004d4",line="197"},{pc="0x080004d8",line="198"},{pc="0x080004dc",line="199"},{pc="0x080004e0",line="200"},{pc="0x080004e4",line="201"},{pc="0x080004ea",line="202"},{pc="0x080004ee",line="203"},{pc="0x08000500",line="204"},{pc="0x08000508",line="206"},{pc="0x0800050c",line="210"},{pc="0x08000518",line="213"},{pc="0x08000536",line="216"},{pc="0x0800053a",line="218"},{pc="0x08000550",line="0"},{pc="0x08000550",line="225"},{pc="0x08000556",line="229"},{pc="0x08000574",line="232"},{pc="0x0800057a",line="233"},{pc="0x0800057e",line="234"},{pc="0x08000584",line="235"},{pc="0x0800058e",line="238"},{pc="0x08000598",line="239"},{pc="0x0800059e",line="240"},{pc="0x080005b0",line="0"},{pc="0x080005b0",line="248"},{pc="0x080005ba",line="249"},{pc="0x080005c2",line="252"},{pc="0x080005ca",line="252"},{pc="0x080005ce",line="254"},{pc="0x080005e0",line="0"},{pc="0x080005e0",line="262"},{pc="0x080005e6",line="0"},{pc="0x080006ac",line="268"},{pc="0x080006bc",line="0"},{pc="0x080006bc",line="277"},{pc="0x080006c2",line="281"},{pc="0x080006c6",line="284"},{pc="0x080006ca",line="285"},{pc="0x080006ce",line="286"},{pc="0x080006d2",line="287"},{pc="0x080006d6",line="288"},{pc="0x080006da",line="289"},{pc="0x080006de",line="290"},{pc="0x080006e2",line="291"},{pc="0x080006e6",line="292"},{pc="0x080006ea",line="293"},{pc="0x080006ee",line="294"},{pc="0x080006f2",line="296"},{pc="0x080006fa",line="299"},{pc="0x08000700",line="300"},{pc="0x08000708",line="0"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (413) ->(gdb)\n"},"seq":177}
1: (413) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (413) 1014: elapsed time 6\n"},"seq":179}
1: (413) 1014: elapsed time 6
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (417) Send Event AD7BreakpointBoundEvent\n"},"seq":181}
1: (417) Send Event AD7BreakpointBoundEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (419) <-1015-break-insert -f main.c:95\n"},"seq":183}
1: (419) <-1015-break-insert -f main.c:95
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (421) ->1015^done,bkpt={number=\"3\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x080003bc\",func=\"main\",file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"95\",thread-groups=[\"i1\"],times=\"0\",original-location=\"main.c:95\"}\n"},"seq":185}
1: (421) ->1015^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x080003bc",func="main",file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="95",thread-groups=["i1"],times="0",original-location="main.c:95"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (421) ->(gdb)\n"},"seq":187}
1: (421) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (421) 1015: elapsed time 1\n"},"seq":189}
1: (421) 1015: elapsed time 1
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (421) Send Event AD7BreakpointBoundEvent\n"},"seq":191}
1: (421) Send Event AD7BreakpointBoundEvent
--> R (setBreakpoints-3): {"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"verified":true,"line":85,"BoundBreakpoints":[]},{"id":2,"verified":true,"line":95,"BoundBreakpoints":[]}]},"seq":193}
--> E (breakpoint): {"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":1,"verified":true,"line":85,"BoundBreakpoints":[]}},"seq":195}
--> E (breakpoint): {"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":2,"verified":true,"line":95,"BoundBreakpoints":[]}},"seq":197}
<-- C (setFunctionBreakpoints-4): {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}
--> R (setFunctionBreakpoints-4): {"type":"response","request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]},"seq":200}
<-- C (setInstructionBreakpoints-5): {"command":"setInstructionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":5}
--> R (setInstructionBreakpoints-5): {"type":"response","request_seq":5,"success":true,"command":"setInstructionBreakpoints","body":{"breakpoints":[]},"seq":203}
<-- C (setExceptionBreakpoints-6): {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[]},"type":"request","seq":6}
--> R (setExceptionBreakpoints-6): {"type":"response","request_seq":6,"success":true,"command":"setExceptionBreakpoints","body":{"breakpoints":[]},"seq":206}
<-- C (setDataBreakpoints-7): {"command":"setDataBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":7}
--> R (setDataBreakpoints-7): {"type":"response","request_seq":7,"success":true,"command":"setDataBreakpoints","body":{"breakpoints":[]},"seq":209}
<-- C (configurationDone-8): {"command":"configurationDone","type":"request","seq":8}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (501) Send Event AD7LoadCompleteEvent\n"},"seq":213}
1: (501) Send Event AD7LoadCompleteEvent
--> R (configurationDone-8): {"type":"response","request_seq":8,"success":true,"command":"configurationDone","body":{},"seq":212}
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"openocd: Open On-Chip Debugger 0.12.0\nopenocd: Licensed under GNU GPL v2\nopenocd: For bug reports, read\nopenocd: \thttp://openocd.org/doc/doxygen/bugs.html\nopenocd: Info : auto-selecting first available session transport \"hla_swd\". To override use 'transport select <transport>'.\nopenocd: Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD\nopenocd: srst_only separate srst_nogate srst_open_drain connect_deassert_srst\nopenocd: \nopenocd: Info : Listening on port 6666 for tcl connections\nopenocd: Info : Listening on port 4444 for telnet connections\nopenocd: Info : clock speed 1800 kHz\nopenocd: Info : STLINK V3J16M7 (API v3) VID:PID 0483:374E\nopenocd: Info : Target voltage: 3.273161\nopenocd: Info : [stm32h7x.cpu0] Cortex-M7 r1p1 processor detected\nopenocd: Info : [stm32h7x.cpu0] target has 8 breakpoints, 4 watchpoints\nopenocd: Info : starting gdb server for stm32h7x.cpu0 on 3333\nopenocd: Info : Listening on port 3333 for gdb connections\n=thread-group-added,id=\"i1\"\nGNU gdb (Fedora Linux) 15.2-4.fc41\nCopyright (C) 2024 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\nType \"show copying\" and \"show warranty\" for details.\nThis GDB was configured as \"x86_64-redhat-linux-gnu\".\nType \"show configuration\" for configuration details.\nFor bug reporting instructions, please see:\n<https://www.gnu.org/software/gdb/bugs/>.\nFind the GDB manual and other documentation resources online at:\n <http://www.gnu.org/software/gdb/documentation/>.\n\nFor help, type \"help\".\nType \"apropos word\" to search for commands related to \"word\".\nopenocd: Info : accepting 'gdb' connection on tcp/3333\nopenocd: [stm32h7x.cpu0] halted due to breakpoint, current mode: Thread \nopenocd: xPSR: 0x61000000 pc: 0x0800039a msp: 0x2001fff8\nopenocd: Info : Device: STM32H74x/75x\nopenocd: Info : flash size probed value 2048k\nopenocd: Info : STM32H7 flash has dual banks\nopenocd: Info : Bank (0) size is 1024 kb, base address is 0x08000000\n=cmd-param-changed,param=\"pagination\",value=\"off\"\nNote: automatically using hardware breakpoints for read-only addresses.\n"},"seq":216}
openocd: Open On-Chip Debugger 0.12.0
openocd: Licensed under GNU GPL v2
openocd: For bug reports, read
openocd: http://openocd.org/doc/doxygen/bugs.html
openocd: Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
openocd: Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
openocd: srst_only separate srst_nogate srst_open_drain connect_deassert_srst
openocd:
openocd: Info : Listening on port 6666 for tcl connections
openocd: Info : Listening on port 4444 for telnet connections
openocd: Info : clock speed 1800 kHz
openocd: Info : STLINK V3J16M7 (API v3) VID:PID 0483:374E
openocd: Info : Target voltage: 3.273161
openocd: Info : [stm32h7x.cpu0] Cortex-M7 r1p1 processor detected
openocd: Info : [stm32h7x.cpu0] target has 8 breakpoints, 4 watchpoints
openocd: Info : starting gdb server for stm32h7x.cpu0 on 3333
openocd: Info : Listening on port 3333 for gdb connections
=thread-group-added,id="i1"
GNU gdb (Fedora Linux) 15.2-4.fc41
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
openocd: Info : accepting 'gdb' connection on tcp/3333
openocd: [stm32h7x.cpu0] halted due to breakpoint, current mode: Thread
openocd: xPSR: 0x61000000 pc: 0x0800039a msp: 0x2001fff8
openocd: Info : Device: STM32H74x/75x
openocd: Info : flash size probed value 2048k
openocd: Info : STM32H7 flash has dual banks
openocd: Info : Bank (0) size is 1024 kb, base address is 0x08000000
=cmd-param-changed,param="pagination",value="off"
Note: automatically using hardware breakpoints for read-only addresses.
<-- C (threads-9): {"command":"threads","type":"request","seq":9}
--> R (threads-9): {"type":"response","request_seq":9,"success":true,"command":"threads","body":{"threads":[]},"seq":219}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (511) <-1016-thread-info\n"},"seq":221}
1: (511) <-1016-thread-info
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (519) ->1016^done,threads=[{id=\"1\",target-id=\"Remote target\",frame={level=\"0\",addr=\"0x0800039a\",func=\"main\",args=[],file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"85\",arch=\"armv7e-m\"},state=\"stopped\"}],current-thread-id=\"1\"\n"},"seq":223}
1: (519) ->1016^done,threads=[{id="1",target-id="Remote target",frame={level="0",addr="0x0800039a",func="main",args=[],file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="85",arch="armv7e-m"},state="stopped"}],current-thread-id="1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (519) ->(gdb)\n"},"seq":225}
1: (519) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (519) 1016: elapsed time 7\n"},"seq":227}
1: (519) 1016: elapsed time 7
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (524) <-1017-stack-list-frames 0 1000\n"},"seq":229}
1: (524) <-1017-stack-list-frames 0 1000
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (524) ->1017^done,stack=[frame={level=\"0\",addr=\"0x0800039a\",func=\"main\",file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"85\",arch=\"armv7e-m\"}]\n"},"seq":231}
1: (524) ->1017^done,stack=[frame={level="0",addr="0x0800039a",func="main",file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="85",arch="armv7e-m"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) ->(gdb)\n"},"seq":233}
1: (525) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (526) 1017: elapsed time 1\n"},"seq":235}
1: (526) 1017: elapsed time 1
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (528) Send Event AD7ProcessInfoUpdatedEvent\n"},"seq":237}
1: (528) Send Event AD7ProcessInfoUpdatedEvent
--> E (process): {"type":"event","event":"process","body":{"startMethod":"launch","name":"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/build/Debug/STM32H7_GPIO_EXTI.elf","systemProcessId":42000,"pointerSize":32},"seq":239}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (533) Send Event AD7ThreadCreateEvent\n"},"seq":241}
1: (533) Send Event AD7ThreadCreateEvent
--> E (thread): {"type":"event","event":"thread","body":{"reason":"started","threadId":-2},"seq":243}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (537) <--exec-continue\n"},"seq":245}
1: (537) <--exec-continue
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (537) ->^running\n"},"seq":247}
1: (537) ->^running
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (537) ->*running,thread-id=\"all\"\n"},"seq":249}
1: (537) ->*running,thread-id="all"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (539) ->(gdb)\n"},"seq":251}
1: (539) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (561) ->@\"halted: PC: 0x0800039c\\n\"\n"},"seq":253}
1: (561) ->@"halted: PC: 0x0800039c\n"
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"openocd: Info : halted: PC: 0x0800039c\n"},"seq":254}
openocd: Info : halted: PC: 0x0800039c
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"halted: PC: 0x0800039c\n"},"seq":257}
halted: PC: 0x0800039c
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (620) ->=breakpoint-modified,bkpt={number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x0800039a\",func=\"main\",file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"85\",thread-groups=[\"i1\"],times=\"1\",original-location=\"main.c:85\"}\n"},"seq":259}
1: (620) ->=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0800039a",func="main",file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="85",thread-groups=["i1"],times="1",original-location="main.c:85"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (627) ->~\"\\n\"\n"},"seq":261}
1: (627) ->~"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (627) ->~\"Breakpoint 2, main () at /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c:85\\n\"\n"},"seq":263}
1: (627) ->~"Breakpoint 2, main () at /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c:85\n"
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"\n"},"seq":265}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (627) ->~\"85\\t BSP_LED_Off(LED1);\\n\"\n"},"seq":266}
1: (627) ->~"85\t BSP_LED_Off(LED1);\n"
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 2, main () at /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c:85\n"},"seq":269}
Breakpoint 2, main () at /home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c:85
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (627) ->*stopped,reason=\"breakpoint-hit\",disp=\"keep\",bkptno=\"2\",frame={addr=\"0x0800039a\",func=\"main\",args=[],file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"85\",arch=\"armv7e-m\"},thread-id=\"1\",stopped-threads=\"all\"\n"},"seq":271}
1: (627) ->*stopped,reason="breakpoint-hit",disp="keep",bkptno="2",frame={addr="0x0800039a",func="main",args=[],file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="85",arch="armv7e-m"},thread-id="1",stopped-threads="all"
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"85\t BSP_LED_Off(LED1);\n"},"seq":273}
85 BSP_LED_Off(LED1);
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (628) <-1018-stack-list-frames 0 1000\n"},"seq":275}
1: (628) <-1018-stack-list-frames 0 1000
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (628) ->1018^done,stack=[frame={level=\"0\",addr=\"0x0800039a\",func=\"main\",file=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",fullname=\"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c\",line=\"85\",arch=\"armv7e-m\"}]\n"},"seq":277}
1: (628) ->1018^done,stack=[frame={level="0",addr="0x0800039a",func="main",file="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",fullname="/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c",line="85",arch="armv7e-m"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (628) ->(gdb)\n"},"seq":279}
1: (628) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (629) 1018: elapsed time 0\n"},"seq":281}
1: (629) 1018: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (631) <-1019-break-delete 1\n"},"seq":283}
1: (631) <-1019-break-delete 1
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (632) ->1019^done\n"},"seq":285}
1: (632) ->1019^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (632) ->(gdb)\n"},"seq":287}
1: (632) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (632) 1019: elapsed time 1\n"},"seq":289}
1: (632) 1019: elapsed time 1
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (634) Send Event AD7BreakpointEvent\n"},"seq":291}
1: (634) Send Event AD7BreakpointEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"Execute debugger commands using \"-exec <command>\", for example \"-exec info registers\" will list registers in use (when GDB is the debugger)\n"},"seq":293}
Execute debugger commands using "-exec <command>", for example "-exec info registers" will list registers in use (when GDB is the debugger)
--> E (stopped): {"type":"event","event":"stopped","body":{"reason":"breakpoint","threadId":-2,"allThreadsStopped":true,"source":{"name":"main.c","path":"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c","sources":[],"checksums":[]},"line":85,"column":1},"seq":295}
<-- C (threads-10): {"command":"threads","type":"request","seq":10}
--> R (threads-10): {"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[{"id":-2,"name":" [4294967294]"}]},"seq":298}
<-- C (threads-11): {"command":"threads","type":"request","seq":11}
--> R (threads-11): {"type":"response","request_seq":11,"success":true,"command":"threads","body":{"threads":[{"id":-2,"name":" [4294967294]"}]},"seq":301}
<-- C (threads-12): {"command":"threads","type":"request","seq":12}
--> R (threads-12): {"type":"response","request_seq":12,"success":true,"command":"threads","body":{"threads":[{"id":-2,"name":" [4294967294]"}]},"seq":304}
<-- C (stackTrace-13): {"command":"stackTrace","arguments":{"threadId":-2,"levels":1},"type":"request","seq":13}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (663) <-1020-list-features\n"},"seq":307}
1: (663) <-1020-list-features
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (663) ->1020^done,features=[\"frozen-varobjs\",\"pending-breakpoints\",\"thread-info\",\"data-read-memory-bytes\",\"breakpoint-notifications\",\"ada-task-info\",\"language-option\",\"info-gdb-mi-command\",\"undefined-command-error-code\",\"exec-run-start-option\",\"data-disassemble-a-option\",\"simple-values-ref-types\",\"python\"]\n"},"seq":309}
1: (663) ->1020^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-command-error-code","exec-run-start-option","data-disassemble-a-option","simple-values-ref-types","python"]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (663) ->(gdb)\n"},"seq":311}
1: (663) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (665) 1020: elapsed time 2\n"},"seq":313}
1: (665) 1020: elapsed time 2
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (667) <-1021-stack-list-arguments 2 0 0\n"},"seq":315}
1: (667) <-1021-stack-list-arguments 2 0 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (667) ->1021^done,stack-args=[frame={level=\"0\",args=[]}]\n"},"seq":317}
1: (667) ->1021^done,stack-args=[frame={level="0",args=[]}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (667) ->(gdb)\n"},"seq":319}
1: (667) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (668) 1021: elapsed time 0\n"},"seq":321}
1: (668) 1021: elapsed time 0
--> R (stackTrace-13): {"type":"response","request_seq":13,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"main()","source":{"name":"main.c","path":"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c","sources":[],"checksums":[]},"line":85,"column":1,"instructionPointerReference":"0x0800039a"}],"totalFrames":1},"seq":323}
<-- C (stackTrace-14): {"command":"stackTrace","arguments":{"threadId":-2,"startFrame":0,"levels":20},"type":"request","seq":14}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (677) <-1022-stack-list-arguments 2 0 0\n"},"seq":326}
1: (677) <-1022-stack-list-arguments 2 0 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (677) ->1022^done,stack-args=[frame={level=\"0\",args=[]}]\n"},"seq":328}
1: (677) ->1022^done,stack-args=[frame={level="0",args=[]}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (677) ->(gdb)\n"},"seq":330}
1: (677) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (677) 1022: elapsed time 0\n"},"seq":332}
1: (677) 1022: elapsed time 0
--> R (stackTrace-14): {"type":"response","request_seq":14,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1001,"name":"main()","source":{"name":"main.c","path":"/home/jsnowy/Documents/repo/hhzx/STM32H7_GPIO_EXTI/Src/main.c","sources":[],"checksums":[]},"line":85,"column":1,"instructionPointerReference":"0x0800039a"}],"totalFrames":1},"seq":334}
<-- C (evaluate-15): {"command":"evaluate","arguments":{"expression":"_tx_thread_created_ptr","frameId":1000},"type":"request","seq":15}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (684) <-1023-var-create - * \"_tx_thread_created_ptr\"\n"},"seq":337}
1: (684) <-1023-var-create - * "_tx_thread_created_ptr"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (685) ->1023^error,msg=\"-var-create: unable to create variable object\"\n"},"seq":339}
1: (685) ->1023^error,msg="-var-create: unable to create variable object"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (685) ->(gdb)\n"},"seq":341}
1: (685) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (685) 1023: elapsed time 1\n"},"seq":343}
1: (685) 1023: elapsed time 1
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Evaluate","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"17.12.21003.1","VS.Diagnostics.Debugger.HostVersion":"17.12.21003.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Evaluate.Duration":9.0,"VS.Diagnostics.Debugger.Evaluate.IsError":true}},"seq":345}
--> R (evaluate-15): {"type":"response","request_seq":15,"success":true,"command":"evaluate","body":{"result":"-var-create: unable to create variable object","variablesReference":0},"seq":347}
<-- C (evaluate-16): {"command":"evaluate","arguments":{"expression":"pxReadyTasksLists","frameId":1000},"type":"request","seq":16}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (734) <-1024-var-create - * \"pxReadyTasksLists\"\n"},"seq":350}
1: (734) <-1024-var-create - * "pxReadyTasksLists"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (735) ->1024^error,msg=\"-var-create: unable to create variable object\"\n"},"seq":352}
1: (735) ->1024^error,msg="-var-create: unable to create variable object"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (735) ->(gdb)\n"},"seq":354}
1: (735) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (735) 1024: elapsed time 0\n"},"seq":356}
1: (735) 1024: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Evaluate","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"17.12.21003.1","VS.Diagnostics.Debugger.HostVersion":"17.12.21003.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Evaluate.Duration":1.0,"VS.Diagnostics.Debugger.Evaluate.IsError":true}},"seq":358}
--> R (evaluate-16): {"type":"response","request_seq":16,"success":true,"command":"evaluate","body":{"result":"-var-create: unable to create variable object","variablesReference":0},"seq":360}
<-- C (evaluate-17): {"command":"evaluate","arguments":{"expression":"_kernel_thread_info_offsets","frameId":1000},"type":"request","seq":17}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (775) <-1025-var-create - * \"_kernel_thread_info_offsets\"\n"},"seq":363}
1: (775) <-1025-var-create - * "_kernel_thread_info_offsets"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (775) ->1025^error,msg=\"-var-create: unable to create variable object\"\n"},"seq":365}
1: (775) ->1025^error,msg="-var-create: unable to create variable object"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (776) ->(gdb)\n"},"seq":367}
1: (776) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (776) 1025: elapsed time 0\n"},"seq":369}
1: (776) 1025: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Evaluate","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"17.12.21003.1","VS.Diagnostics.Debugger.HostVersion":"17.12.21003.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Evaluate.Duration":1.0,"VS.Diagnostics.Debugger.Evaluate.IsError":true}},"seq":371}
--> R (evaluate-17): {"type":"response","request_seq":17,"success":true,"command":"evaluate","body":{"result":"-var-create: unable to create variable object","variablesReference":0},"seq":373}
<-- C (evaluate-18): {"command":"evaluate","arguments":{"expression":"_track_list_k_mutex","frameId":1000},"type":"request","seq":18}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (779) <-1026-var-create - * \"_track_list_k_mutex\"\n"},"seq":376}
1: (779) <-1026-var-create - * "_track_list_k_mutex"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (779) ->1026^error,msg=\"-var-create: unable to create variable object\"\n"},"seq":378}
1: (779) ->1026^error,msg="-var-create: unable to create variable object"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (779) ->(gdb)\n"},"seq":380}
1: (779) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (779) 1026: elapsed time 0\n"},"seq":382}
1: (779) 1026: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Evaluate","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"17.12.21003.1","VS.Diagnostics.Debugger.HostVersion":"17.12.21003.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Evaluate.Duration":1.0,"VS.Diagnostics.Debugger.Evaluate.IsError":true}},"seq":384}
--> R (evaluate-18): {"type":"response","request_seq":18,"success":true,"command":"evaluate","body":{"result":"-var-create: unable to create variable object","variablesReference":0},"seq":386}
<-- C (scopes-19): {"command":"scopes","arguments":{"frameId":1001},"type":"request","seq":19}
--> R (scopes-19): {"type":"response","request_seq":19,"success":true,"command":"scopes","body":{"scopes":[{"presentationHint":"locals","name":"Locals","variablesReference":1000,"expensive":false},{"presentationHint":"registers","name":"Registers","variablesReference":1001,"expensive":true}]},"seq":389}
<-- C (variables-20): {"command":"variables","arguments":{"variablesReference":1000},"type":"request","seq":20}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1123) <-1027-stack-list-variables 0\n"},"seq":392}
1: (1123) <-1027-stack-list-variables 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1123) ->1027^done,variables=[]\n"},"seq":394}
1: (1123) ->1027^done,variables=[]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1123) ->(gdb)\n"},"seq":396}
1: (1123) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1124) 1027: elapsed time 1\n"},"seq":398}
1: (1124) 1027: elapsed time 1
--> R (variables-20): {"type":"response","request_seq":20,"success":true,"command":"variables","body":{"variables":[]},"seq":400}
Other Extensions
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
bugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.
Type
Projects
Status
Done