Breakpoint from setupCommands determinated as exception
@sean-mcmanus ci sta già lavorando.
Dal 6/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Environment
- OS and version: Ubuntu 20
- VS Code: 1.127.0
- C/C++ extension: 1.32.2
Bug Summary and Steps to Reproduce
I use testing extension which generates debugger config from template. I add break-insert via setupCommands:
"setupCommands": [
{
"text": "-break-insert -t -f ${parentLabel[-2]}_${label}_Test::TestBody",
"description": "Sets a breakpoint on test case body",
"ignoreFailures": false
}
],
when breakpoint is hit is looks a bit frighteningly.
A red box with "an exception occurred" text.
I expected that external breakpoint should behave same as planned breakpoint by VSCode by them self.
Debugger Configurations
{
"name": "CreateLsp (BgpluIngressLsp▸dcsldf-blu-utests)",
"request": "launch",
"type": "cppdbg",
"program": "/home/user/projects/output/linux-sim/debug/dcsldf-blu-utests",
"args": [
"--gtest_color=no",
"--gtest_filter=BgpluIngressLsp.CreateLsp",
"--gtest_also_run_disabled_tests",
"--gtest_break_on_failure"
],
"stopAtEntry": false,
"cwd": "/home/user/projects/output/linux-sim/debug/",
"environment": [],
"externalConsole": false,
"pipeTransport": {
"debuggerPath": "/usr/bin/gdb",
"pipeProgram": "/home/eak/hdd/FW.3//../../../../..//builder/builder.sh",
"pipeArgs": [
"run",
"-pipe",
"-work-dir",
"/home/user/projects"
],
"quoteArgs": false
},
"sourceFileMap": {
"/home/user/projects": "/home/eak/hdd/FW.3/"
},
"setupCommands": [
{
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"text": "-break-insert -t -f BgpluIngressLsp_CreateLsp_Test::TestBody",
"description": "Sets a breakpoint on test case body",
"ignoreFailures": false
}
],
"logging": {
"engineLogging": true,
"trace": true,
"traceResponse": true
},
"MIMode": "gdb",
"__configurationTarget": 6
}
Debugger Logs
--> E (stopped): {"type":"event","event":"stopped","body":{"reason":"exception","threadId":167,"text":"Hit breakpoint 1 at 0x555555632622.","allThreadsStopped":true,"source":{"name":"ingress_lsp_tests.cpp","path":"/home/eak/hdd/FW.3/tests/bgplu-utests/ingress_lsp_tests.cpp","sources":[],"checksums":[]},"line":209,"column":1},"seq":426}
Other Extensions
No response
Additional Information
No response
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 1g 4h
- PR unite (30g)
- 60
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/vscode-cpptools
-
more info needed
microsoft/vscode-cpptools#14793 · 1 commento · 1 assegnatario ·
-
more info needed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/vscode-cpptools#14787 · 1 commento · 1 assegnatario ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries Apertabug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 1 commento · 1 assegnatario ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 commento · 1 assegnatario ·
-
Feature Request Language Service parser
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
microsoft/vscode-cpptools#14769 · 1 commento ·
Tutte le issue di microsoft/vscode-cpptools
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/inspector#2458 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
carbon-design-system/ibm-products#9907 ·