I am trying to debug an application using JAAS authentication. Because this framework is so extremely mulish, I need to debug what the
Tomcat is doing internally when trying to use JAAS.
The Tomcat I am trying to debug is of the version `9.0.14.0` and was built on `Dec 6 2018 21:13:53 UTC`.
The source code of the Tomcat I am using for debugging is finalised at the following commit:
```
commit 90583be4f77c92d8e8ac4a48e63b3cdc31e45890 (HEAD, tag: 9.0.14)
Author: Mark Thomas <
markt@apache.org>
Date: Thu Dec 6 21:09:34 2018 +0000
Tag 9.0.14
git-svn-id:
https://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_14@1848363 13f79535-47bb-0310-9956-ffa450edef68
```
Committed 4 minutes, before it was built. It's literally the same server version. It must be the same source code, as used for the server.
However, when I use IntelliJ to debug the Tomcat, then I get crossed out breakpoints. I almost nowhere can put breakpoints, because they are greyed & crossed out. Sometimes a message appears, telling me that the source code does not match the Bytecode.
How does it not match? Why can I not debug the Tomcat server?