microsoft / microsoft/vscode-cpptools
Evaluate doesn't work as expect during core dump debugging
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
Configuration:
Ubuntu 14 x64 + Cpptools 20160720.1
VSCode : 1.3
Repro Steps:
-
Copy the source code from
main.zip -
Compile the source: g++ -g exception.cpp main.cpp -o myapp
-
Enable the core dump: ulimit -c unlimited
-
Launch the application to generate the core dump:
./myapp "-CallRaisedUnhandledException"
-
Configure the launch.json for "program" and "coreDumpPath"
-
F5
-
Try to evaluate:
a) result = result +1
b) EvalFunc(100,100)
Actual:
In both cases, it just returns "not available"
Expected:
a) For result = result +1, I assume the evaluated result should be "11" ?
b) For EvalFunc(100,100) - I have a dar automation test which should verify the error message for function evaluation during core dump debugging, just want to double confirm the message "not availabe" is correct ? I assume it should be similar like "Function evaluation is not supported during core dump debugging? "
Investigation:
You can refer to attached MIEngine log
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Core-Dump-Sitzung mit dem angehängten Quellcode main.zip, Ubuntu und einer launch.json mit program und coreDumpPath zu reproduzieren. Prüfe das angehängte MIEngine-Protokoll, während du die Zuweisung und den Funktionsaufruf auswertest; abgeschlossen ist die Aufgabe, wenn das Verhalten und die erwartete Fehlermeldung festgestellt wurden oder das gemeldete Auswertungsproblem behoben und verifiziert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, vscode
- Bereich
- devtools, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100