Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug: ..watch variable menu option missing #10614

Closed
joneal opened this issue Aug 17, 2016 · 4 comments
Closed

Debug: ..watch variable menu option missing #10614

joneal opened this issue Aug 17, 2016 · 4 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s)

Comments

@joneal
Copy link

joneal commented Aug 17, 2016

  • VSCode Version: Code 1.4.0 (6276dcb, 2016-08-04T16:45:31.680Z)
  • OS Version: Windows_NT ia32 6.3.9600

Steps to Reproduce:

  1. Debug code (Node.js).
  2. Set breakpoint.
  3. When breakpoint is hit, select and right click on variable.
  4. Menu options Debug: Evaluate and Debug: Run to Cursor are present, but Debug: Watch variable is now missing.
@alexdima
Copy link
Member

fyi @weinand

@jaygeek
Copy link

jaygeek commented Aug 22, 2016

Yes, someone else is talking about this!
I was getting tired of waiting for this to return, as it slows down our workflow by having to use the Copy a source variable, Debug window... Add Expression, Paste... Refocus editor on source code, etc.
I got used to: Right-Click, Add Watch like Visual Studio.
What is the status? (because it's not even in the Insider's Build yet.)

@jaygeek
Copy link

jaygeek commented Aug 22, 2016

A related issue I've noticed is... Oh wait, here it is: #2399

  1. Debug code (Node.js).
  2. Set breakpoint.
  3. When breakpoint is hit, Use the DEBUG CONSOLE to assign a new value to the variable. (The value output after assignment seems to indicate it has been changed.)
  4. RESULT: Hovering and Watch list do not reflect new value, and...
  5. Re-Evaluating the variable now in the DEBUG CONSOLE shows the old value (I swear this worked before in @code)

It should work like Mikaël Mayer's answer here: http://stackoverflow.com/questions/4603021/is-it-possible-to-change-javascript-variable-values-while-debugging-in-google-ch/24694804#24694804

Screenshot in Chrome Tools: http://i.stack.imgur.com/ubAJ2.png

@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Aug 22, 2016
@isidorn
Copy link
Contributor

isidorn commented Aug 23, 2016

Dup of #10192

@isidorn isidorn closed this as completed Aug 23, 2016
@isidorn isidorn added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 23, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants