[Breakpoints] Stopping due to fatal error: ArgumentNullException: Value cannot be null. (Parameter 'key')
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- cpp, typescript
- Ambito
- devtools
Direzione di ricerca
Inizia riproducendo il malfunzionamento con la configurazione launch.json fornita e GDB 12.1 o 16.2, fermandoti al breakpoint mostrato nei log. Traccia quindi il percorso di arresto al breakpoint che produce l’ArgumentNullException, poi verifica che, dopo la correzione, l’esecuzione passo-passo e l’ispezione delle variabili funzionino normalmente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Environment
- OS and version: Ubuntu 22.04.5 LTS
- VS Code: 1.96.4
- C/C++ extension: 1.23.5
- OS and version of remote machine (if applicable): N/A
- GDB / LLDB version: tried with GDB 12.1 and GDB 16.2
Bug Summary and Steps to Reproduce
Bug Summary:
-
If I set a breakpoint, and run my Binary and then stop at the breakpoint, I get the Message:
Stopping due to fatal error: ArgumentNullException: Value cannot be null. (Parameter 'key') -
and Then I can no longer Step Over or see variables
-
NOTE: This was working before, I might have installed a conflicting library or something?
Steps to reproduce:
- In this environment...
- With this config...
- Do '...'
- See error...
Debugger Configurations
Launch.json
{
"name": "Run test (Linux x64)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/out/${input:outTestLinux}",
"args": [],
"cwd": "${workspaceFolder}"
},
Debugger Logs
=thread-group-added,id="i1"
GNU gdb (GDB) 16.2
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-pc-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".
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
=cmd-param-changed,param="pagination",value="off"
Stopped due to shared library event (no libraries added or removed)
Loaded '/lib64/ld-linux-x86-64.so.2'. Symbols loaded.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, main () at ../../third_party/pigweed/repo/pw_unit_test/simple_printing_main.cc:22
22 int main() {
Loaded '/lib/x86_64-linux-gnu/libatomic.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libssl.so.3'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libcrypto.so.3'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgio-2.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgobject-2.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libglib-2.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libm.so.6'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libresolv.so.2'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libc.so.6'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libpthread.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgmodule-2.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libz.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libmount.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libselinux.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libffi.so.8'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libpcre.so.3'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libblkid.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libpcre2-8.so.0'. Symbols loaded.
Breakpoint 3, (anonymous namespace)::GetAddressWithMediumScore (port=5540, interfaceId=...) at ../../src/lib/address_resolve/tests/TestAddressResolve_DefaultImpl.cpp:84
84 Inet::IPAddress ipAddress;
Execute debugger commands using "-exec <command>", for example "-exec info registers" will list registers in use (when GDB is the debugger)
Stopping due to fatal error: ArgumentNullException: Value cannot be null. (Parameter 'key')
Other Extensions
No response
Additional Information
No response
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
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
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/vscode-cpptools#14787 ·
-
[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 assegnatario ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 commento · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
microsoft/vscode-cpptools#14769 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
microsoft/vscode-cpptools#14768 · 1 commento ·
Tutte le issue di microsoft/vscode-cpptools
Issue simili
-
comp/dashboard P3 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
-
code-quality refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
langchain-ai/deepagents#6450 ·