vscode-java-debug icon indicating copy to clipboard operation
vscode-java-debug copied to clipboard

Debugging a war|exploded war ignores breakpoints

Open vincenzocaselli opened this issue 2 years ago • 0 comments

After the deploy on Tomcat of a war or an exploded war and having set breakpoints, the execution does not stops successfully at the breakpoints.

Environment
  • Operating System: Win10 Pro - Build No : 19045.3570 version : 22H2
  • JDK version: JDK 1.8.0_371
  • Visual Studio Code version: 1.84.0 User Setup
  • Java extension version: Extension Pack for Java v0.25.15
  • Java Debugger extension version: Debugger for Java v0.55.0
  • Community Server Connectors v0.26.13
  • Application Server: Tomcat-7.0.109
Steps To Reproduce
  1. deploy war on Tomcat
  2. start Tomcat in debug mode
  3. set breakpoints on Java sources
  4. navigate the webapp in order to hit breakpoints
Current Result

The breakpoints are ignored, as if the breakpoints are not set

Expected Result

The execution should stop at breakpoints, highlighting the source code row reached

vincenzocaselli avatar Nov 02 '23 14:11 vincenzocaselli