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

Conditional breakpoint can not be restored after restart and breaks debug UI #12853

Closed
kieferrm opened this issue Sep 28, 2016 · 0 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded

Comments

@kieferrm
Copy link
Member

While testing #12600.

  • VSCode Version: 1.6.0 insiders
  • OS Version: MacOs

Steps to Reproduce:

  1. open a workspace
  2. open a js file
  3. set breakpoint
  4. edit the breakpoint to be conditional
  5. quit vscode
  6. restart vscode
    -> editor on file as in step 2 opens; no breakpoint It creates the stack trace below
    -> When ups now debug the debugger still stops at the breakpoint but the yellow 'current execution point' indication gets stuck at the conditional break point. I.e. the debugging UI is broken.
shell.ts:441Cannot read property 'model' of undefined: TypeError: Cannot read property 'model' of undefined
    at e.getBreakpointDecorationOptions (file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:82:14496)
    at file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:82:13777
    at Array.map (native)
    at e.createBreakpointDecorations (file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:82:13744)
    at e.onModelAdded (file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:82:10069)
    at e.invoke (file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29:20764)
    at e.fire (file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:29:31336)
    at e.createModel (file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:69:21524)
    at t.doCreateTextEditorModel (file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:80:13509)
    at file:////***/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:80:13263e.onUnexpectedError @ shell.ts:441
@kieferrm kieferrm added bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues labels Sep 28, 2016
@isidorn isidorn added this to the September 2016 milestone Sep 28, 2016
@octref octref added the verified Verification succeeded label Sep 28, 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
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants