microsoft / vscode-java-debug

Java Debugger for Visual Studio Code.
Other
530 stars 339 forks source link

Endgame 0.13.0 #433

Closed andxu closed 6 years ago

andxu commented 6 years ago

Build

Test

Release

Notes

Before you check an item, please reply to this issue with the following details:

  1. What are the steps and details of your check?
  2. What are the configurations?
  3. What are the issues found in the process?
  4. What's your conclusion?
testforstephen commented 6 years ago

Verify 0.13.0 on Mac

  1. Open a spring-boot project/5.breakpoint/3.thread, start debugging, the step/continue/restartStackFrame feature works as normal. Except that debug buttons still has issues when switching multiple threads. Keep the issue https://github.com/Microsoft/vscode-java-debug/issues/411 open to track the multiple threads scenario. [Partial PASS]
  2. Open a Java program, and add variables in mainClass and args in launch.json. The debugger can be started normally. [PASS]
  3. Open 5.breakpoint project, at the for loop, add a wrong logpoint expression {i.toString()}, the debugger will report compilation error. And telemetry doesn't log this kind of user error. [PASS]
Eskibear commented 6 years ago

Verification on Windows

··· Version: 1.27.2 (user setup) Commit: f46c4c469d6e6d8c46f268d1553c5dc4b475840f Date: 2018-09-12T16:17:45.060Z Electron: 2.0.7 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64 ···

  1. Start with an empty springboot project in VSCode. Add a loop with logpoints set.
        for(int a = 0; a < 1000; a++){
            System.out.print("");   <---1    {a.toString()}
            System.out.print("");   <---2    {novar}
        }
  2. Debug the project, from the verbose log, no duplicated classpath entries. PASSED
  3. It pop up 2 message boxes for the errors respectively. PASSED
sallyur commented 6 years ago

Run test plan:

Following https://github.com/Microsoft/vscode-java-debug/blob/master/TestPlan.md

1. Configuration

Windows Mac
Vscode 1.27.2 JDK 10 Vscode1.27.2 JDK 8

2. Open bug: #437

3.Test result:

Test case Windows Mac
Configurations Vscode 1.27.2 JDK 10 Vscode1.27.2 JDK 8
Clean install Pass Pass
Uninstall Pass Pass
Update Pass Pass
HelloWorld Pass Pass
CallStack Pass Pass
Multiple Thread Pass Pass
Variables Pass Pass
Big stack frame Pass Pass
Breakpoint and inner class Pass Pass
Variable Perform Test Pass Pass
No debug information test Pass Pass
Maven test Pass Pass
Gradle test Pass Pass
PetClinic \ Pass
TODO application Pass Pass
Single file build Pass Pass
Console application Pass Pass
Java 9 modular application #437 \
Multi-root Pass Pass
Step filters Pass Pass
Hot Code Replace Pass Pass
Conditional Breakpoints #369 Pass
Restart Frame Pass Pass
Encoding Test for Project under Chinese directory Pass Pass
Encoding Test for text file encoding #260 Pass
Caught and Uncaught exceptions test Pass Pass
Restart Frame #294 #294
Logpoint Pass Pass
Start without debugging Pass Pass
Environment Variables Pass Pass
Runtime classpath entry Pass Pass
Resolve Variables Pass Pass
Attach evaluation Pass Pass
sallyur commented 6 years ago

Verify new features:

Features Win10 x64 Mac
Configurations Vscode 1.27.2 JDK 10 Vscode1.27.2 JDK 8
Use code lens to run java program in much simpler way Pass Pass
Make vmArgs accept an array Pass Pass
mainClass Should Accept varaiable Pass Pass
Put last used main class on top Pass Pass