Evaluate doesn't work as expect during core dump debugging
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