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: com.sun.jdi.InvalidStackFrameException occurred while retrieving value #254

Closed
bsaby opened this issue Mar 15, 2018 · 4 comments
Assignees
Labels
Milestone

Comments

@bsaby
Copy link
Contributor

bsaby commented Mar 15, 2018

Environment
  • Operating System: Windows
  • JDK version: 8
  • Visual Studio Code version: 1.21.1
  • Java extension version: 0.7.0
  • Java Debugger extension version:0.20.0
Steps To Reproduce
  1. Open project simple-app in vscode
  2. Set conditional breakpoint on line 13 with condition i ==1000, F5 and wait the breakpoint to be hit

[attach a sample project reproducing the error]
simple-app.zip

attach logs
image

Current Result

image

Except Result

Hit the conditional breakpoint when i equals 1000

@andxu andxu self-assigned this Mar 15, 2018
@andxu andxu added the bug label Mar 15, 2018
@andxu
Copy link
Contributor

andxu commented Mar 15, 2018

It's related to JdiStackFrame cached in JDIThread, I will fix it in later release 0.8.0
.

@andxu andxu added this to the 0.8.0 milestone Mar 15, 2018
andxu added a commit to microsoft/java-debug that referenced this issue Mar 15, 2018
@andxu
Copy link
Contributor

andxu commented Mar 15, 2018

Please test on bit #254 for this bug

@bsaby bsaby mentioned this issue Mar 15, 2018
13 tasks
@bsaby
Copy link
Contributor Author

bsaby commented Mar 16, 2018

Now I can't repro this issue using build: andy_conditional_breakpoint/33

@andxu
Copy link
Contributor

andxu commented Mar 26, 2018

microsoft/java-debug#163

@andxu andxu closed this as completed Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants