Skip to content

Test Plan #17

@andxu

Description

@andxu

Hello World

  1. Create a new folder helloworld, create a file named App.java in this folder and filling the following codes:
public class App 
{
    public static void main( String[] args )
    {        
        System.out.println( "Hello World!" );
    }
}
  1. Set BP on println
  2. Press F5, verify for launch.json generated with right mainClass
  3. Press F5, verify for BP to be hit, verify variable args shows like String[0] (id=%d)
  4. Add watch args.toString() + " test", verify the result like [Ljava.lang.String;@726f3b58 test
  5. Input args.toString() + " test" in debug console, verify the same result in debug console and it is expandable.
  6. Verify stack with thread list and on paused thread and one stack:
    App.main(String[]) (App.java:5)
  7. Press F10, verify Hello World! in debug console.
  8. Press F5, verify program terminates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions