Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up| ★ wanayoo — archive 1999 https://github.com/microsoft/vscode-java-debug/issues/797 | Nouvelle recherche | Portail wanayoo |
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
When a program is launched with Java 14, it might be useful to automatically add
-XX:+ShowCodeDetailsInExceptionMessagesto the vmArgs, so that NPEs provide better troubleshooting informations. See https://www.baeldung.com/java-14-nullpointerexception for more details.The flag should be added dynamically during launch, if not already present in the launch.json's "vmArgs" option. Better not generate the launch.json with the flag directly in it, as things will go wrong if the project's JDK version changes:
This enhanced behavior could be disabled with a new setting.