vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Evaluate doesn't work as expect during core dump debugging

Open caslan opened this issue 9 years ago • 0 comments

Configuration:

Ubuntu 14 x64 + Cpptools 20160720.1

VSCode : 1.3

Repro Steps:

  1. Copy the source code from main.zip

  2. Compile the source: g++ -g exception.cpp main.cpp -o myapp

  3. Enable the core dump: ulimit -c unlimited

  4. Launch the application to generate the core dump:

    ./myapp "-CallRaisedUnhandledException"

  5. Configure the launch.json for "program" and "coreDumpPath"

  6. F5

  7. 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

caslan avatar Feb 18 '17 06:02 caslan