When using the Scanner class, the debugger does nothing when typing in a value. It stops with the message below.
Environment
- Operating System: Windows 10 Professional x64
- JDK version: 8u161
- Visual Studio Code version: 1.20.1
- Java extension version: 0.19.0
- Java Debugger extension version: 0.6.0
Steps To Reproduce
- Create a class with public static void main method
- Create a new Scanner(System.in)
- Create a variable and let the scanner read in an integer
- Run the debugger
public static void main( String[] args )
{
Scanner scanner = new Scanner(System.in);
int x = scanner.nextInt();
scanner.close();
}
Current Result
Failed to evaluate. Reason: Cannot evaluate because the thread is resumed.

Expected Result
Additional Informations
There is nothing more. No breakpoint set, just created a default java launch and it stopped there
When using the Scanner class, the debugger does nothing when typing in a value. It stops with the message below.
Environment
Steps To Reproduce
Current Result
Failed to evaluate. Reason: Cannot evaluate because the thread is resumed.

Expected Result
Additional Informations
There is nothing more. No breakpoint set, just created a default java launch and it stopped there