microsoft / microsoft/vscode-cpptools

Debugger is not able to evaluate a CPP function's return value

Open
#8,137 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger more info needed
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Bug type: Debugger

Describe the bug

  • OS and Version: Ubuntu 21.04
  • VS Code Version: 1.60
  • C/C++ Extension Version: 1.0.0

Hello, Team!

I experienced the following issue: When I add a function to the watch expressions list, it is not being evaluated (see attachment). Is it a bug, or is there some setting which I don't know about?
DebuggerDoesNotEvaluate

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by reproducing the watch-expression behavior using Ubuntu 21.04, VS Code 1.60, and C/C++ Extension 1.0.0, then inspect the debugger's handling of a C++ function in the watch list. Done means establishing whether the return value is evaluated or whether a setting or limitation explains the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.