Skip to content

report InvalidStackFrameException during evaluating on conditional breakpoint #369

Closed

Description

Activity

  1. testforstephen commented on Sep 19, 2018

    @testforstephen
    Contributor

    Andy Xu(devdiv) (@andxu) Look likes this issue can be stably reproduced, please have a look.

  2. bsaby commented on Sep 27, 2018

    @bsaby
    Contributor

    Configurations:

    OS: Windows 10
    Vscode 1.27.2
    JDK: 1.8.0_181
    Vscode extension:
    
    1. Language server: 0.31.0
    2. Debugger for Java: private build:#103
    
    

    Steps:

    1. Open project simple-java in vscode, write the following code:
    package com.ms.samples;
    
    public class App
    {
        public static void main( String[] args )
        {
            int i = 0;
            for (; i <= 1000; i++) {
                if (i == 1000)  {
                    System.out.println( "Hello World!" );        
                }
            }
            System.out.println( "Hello World!" );
        }
    }  
    
    1. Set the conditional breakpoint on line 13 with condition i ==1000, F5 and wait the breakpoint to be hit

    Result:
    image

    Log file:
    log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions