In my case, IntelliJ set the default java compiler to Ajc. After changing it to Javac the debugger worked as expected (Settings -> Build, Execution, Deployment -> Compiler -> Java Compiler -> Use compiler: Javac)

Answer from OHY on Stack Overflow
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206183909--this-is-not-available-in-debugger-variables-window
'this' is not available, in debugger variables window – IDEs Support (IntelliJ Platform) | JetBrains
October 31, 2008 - Looks like this is a static method: notice the node "static" in the Variables tab. In static context 'this' is not available indeed. In general, debugger's behaviour depends on the way the instrumentation is implemented in AspectJ (whether they ...
Discussions

Not able to Run->Debug in Intellij Idea 2022.1, it shut's down immediately with exit code 2
IntelliJ is configured with Oracle OpenJDK 11.0.14, SBT Shell use for both "project reloads" and "build". "Use Play 2 compiler for this project" is disabled (tried both). When starting the debugger it builds just fine, but when it after building opens the debugger console it exits immediately: More on github.com
🌐 github.com
15
April 29, 2022
IntelliJ: unable to debug
Viewpoints? You mean Breakpoints? You have to make sure that the code where you set your Breakpoints is actually executed at some point, it doesn't just jump there because you placed it More on reddit.com
🌐 r/IntelliJIDEA
8
6
April 30, 2022
Solved - Unable to effectively debug a Java application using Intellij | The FreeBSD Forums
I am running my Java application from the cmdline using java -jar and then attaching Intellij remotely on port 5005 which works on other platforms. Has anyone else encountered any such issues? Debugging is essential to develop. ... I updated to Intellij 2021.3.2 and am not having this issue any ... More on forums.freebsd.org
🌐 forums.freebsd.org
November 13, 2021
java - Intellij - Debugger not working in maven project - Stack Overflow
I came across an issue where I am not able to debug a maven sprint boot REST API application in IntelliJ. The application starts up but won't stop at any breakpoint. Additionally when I stop the More on stackoverflow.com
🌐 stackoverflow.com
🌐
Reddit
reddit.com › r/javahelp › ‘this’ is not available intellij debugger
'this' is not available IntelliJ debugger : r/javahelp
August 4, 2020 -

I am writing unit test cases with power mock . While debugging the execution goes to a different class and debug window show ‘this’ is not available. I get null pointer exception after that . What does this mean . I have mocked the dependencies and created mocked objects for the classes . It’s not that it’s object was never created . Tried to google this but it seems an open issue with IntelliJ .

🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › articles › 206560589-What-to-do-if-debugger-doesn-t-work-as-expected
What to do if debugger doesn't work as expected? – IDEs Support (IntelliJ Platform) | JetBrains
December 1, 2024 - Please send us logs to investigate the problem. Do the following: go to Help | Diagnostic Tools | Debug Log Settings add #com.jetbrains.cidr.execution.debugger there reproduce the problem (mind, t...
🌐
GitHub
github.com › playframework › playframework › issues › 11261
Not able to Run->Debug in Intellij Idea 2022.1, it shut's down immediately with exit code 2 · Issue #11261 · playframework/playframework
April 29, 2022 - Please reload this page. ... I face what seems like a similar issue as #11086 with 2.8.15 and the latest IntelliJ Idea (IntelliJ IDEA 2022.1 (Ultimate Edition) Build #IU-221.5080.210, built on April 12, 2022). Just like with the problem above it works fine running sbt run but not Idea->Run->Debug.
Author   EirikFinvold
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 21668287497874-Issue-with-Debugger-in-IntelliJ-IDEA
Issue with Debugger in IntelliJ IDEA – IDEs Support (IntelliJ Platform) | JetBrains
September 29, 2024 - Hello,I’m encountering an issue with the debugger in IntelliJ IDEA. Whenever I try to start a debugging session, the process either hangs or fails to attach to the application. I’ve verified that t...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 10516342868626-Cannot-run-or-debug-java-web-application
Cannot run or debug java web application – IDEs Support (IntelliJ Platform) | JetBrains
Please ensure that the browser was started successfully with remote debugging port opened. Port cannot be opened if Chrome having the same User Data Directory is already launched.
Find elsewhere
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206983235-IntelliJ-Debug-information-unavailable
IntelliJ "Debug information unavailable" – IDEs Support (IntelliJ Platform) | JetBrains
June 11, 2008 - Years ago I filed a request that Idea should deduce the necessary information from the source code (basically converting variable names to indexes into the methods local var): Debugger: Show variable information when no debug info Please vote/comment. As a workaround you can re-compile the JDK from sources, but you need to exclude some classes which do not have all needed source code attached. I am not sure if latest Java 7 early access builds have full debug information. ... Stephen, thanks for the reply. I voted for this issue!
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-232985 › Debugger-Malfunction-this-is-not-available
Debugger Malfunction: 'this' is not available : IDEA-232985
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
FreeBSD
forums.freebsd.org › development › userland programming and scripting
Solved - Unable to effectively debug a Java application using Intellij | The FreeBSD Forums
November 13, 2021 - I updated to Intellij 2021.3.2 and am not having this issue any longer. I'm not sure what changed, but it appears to work now. It is a huge relief to have a working IDE! Click to expand... How did you update it? Package has 2020 old version ... I did it locally . After a year, the update is still not in ports / package despite others efforts contributing too.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360007633520-Frame-and-variables-are-not-available-in-debugger-window
Frame and variables are not available in debugger window. – IDEs Support (IntelliJ Platform) | JetBrains
February 21, 2020 - For the variables to be available the debug session must be stopped at the breakpoint. Please check Debugging. ... I have exactly the same issue and posted this to Stack Overflow here : https://stackoverflow.com/questions/64283701/intellij-debugger-screens-blank
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 207035525-Debug-option-grayed-out
Debug option grayed out – IDEs Support (IntelliJ Platform) | JetBrains
March 18, 2014 - I did have to redo the run configurations from scratch and re-arrange again my Project and Structure windows (shortcut keys Alt-1 and Alt-7 respectively) to show up in split window mode like I prefer, but beyond that no additional work needed, and now the Run and Debug menu entries are not grayed out anymore. It appears some unknown laptop glitch apepars to be culprit. Like @Steve Edwards, I also restarted machine but to no avail: ... I just had this same issue.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360008210479-V-2020-1-debug-not-working-
V 2020.1 debug not working! – IDEs Support (IntelliJ Platform) | JetBrains
August 5, 2020 - Update: I opened up a new project, copied/pasted the code, debugger started to work again. Probably some unintended keying while coding disabled it? ... If the issue is reproduced for specific project, please try to delete/rename .idea folder in project root, restart PyCharm and check again. If this doesn't help, could you please submit an issue to https://youtrack.jetbrains.com/ with the following data:
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206179829-IntelliJ-not-showing-code-while-debugging
IntelliJ not showing code while debugging – IDEs Support (IntelliJ Platform) | JetBrains
October 1, 2014 - It isn't telling me it cant find the source code... it acts like it isn't even trying to locate source. Any suggestions as to why that isn't working as expected? [[UPDATE]] I discovered that when I imported the Gradle project IntelliJ failed to recognize and mark the source folder in the project. The result was that the debugger couldn't find any source at all.
🌐
JetBrains
jetbrains.com › help › idea › debugging-code.html
Debug code | IntelliJ IDEA Documentation
3 weeks ago - Make sure the Generate debugging info option is turned on (the default setting) in Settings | Build, Execution, Deployment | Compiler | Java Compiler. This setting is not absolutely required for debugging, however, we recommend leaving it enabled.
🌐
GitHub
github.com › OpenLiberty › open-liberty › issues › 9734
Intellij IDEA remote debugger not working on Windows · Issue #9734 · OpenLiberty/open-liberty
November 12, 2019 - To run the server i run server.bat debug test-server . I am also on a windows 10 machine and trying to attach a debugger via intellij ... bugThis bug is not present in a released version of Open LibertyThis bug is not present in a released version of Open Liberty ... You can’t perform that action at this time.
Author   steven1046