Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA 2017 - Missing Debug window

My Intellij Debugger window went missing and I can't find any resources on how to get it back, the closest think I can get to my problem is a missing console window but that doesn't help. So I'm hoping someone here can help me retrieve it.

This pic shows a normal Intellij IDE (that I got from my friend) that shows the tab that's missing for me (in red) and the area in which this tab normally shows (in yellow).

enter image description here

And this pic shows my IDE with the missing Debugger window.

enter image description here

I also opened Intellij's help dialogue which claims that the window will show up when your code hits a break point but that didn't do it for me either.

like image 705
SeriousLee Avatar asked Oct 19 '17 11:10

SeriousLee


People also ask

How do I show debug in IntelliJ?

By default, the Debug tool window opens when your program hits a breakpoint and is not hidden when the session is terminated. To change this behavior, clear the Show debug window on breakpoint checkbox on the Build, Execution, Deployment | Debugger page of the IDE settings Ctrl+Alt+S .

Why is my debugger not working in IntelliJ?

If the code is outdated, or the versions (the source code and the compiled class) mismatch in any way, it can happen that the debugged is giving the IDE information to show a certain line, but that information is not correct giving the current source code, which might cause what appears to be the debugged "jumping" ...

How do I install a debugger in IntelliJ?

Press Ctrl+Alt+F5 or choose Run | Attach to Process from the main menu. IntelliJ IDEA will show the list of the running local processes. Select the process to attach to. The processes launched with the debug agent are shown under Java.


3 Answers

Try the "restore layout" button at the left toolbar of the debugger toolwindow

enter image description here

like image 76
Egor Avatar answered Sep 21 '22 19:09

Egor


Showing a tool window: "Choose View" | "Tool Windows" | "Debug Tool Window" in the main menu.

It as simple as that. There are multiple other things you can try, look here:

https://www.jetbrains.com/help/idea/manipulating-the-tool-windows.html#show

For example reset your Tool Windows:

You can return to the default workspace layout by choosing "Window" | "Restore Default Layout" (Shift+F12).

like image 34
Neyxo Avatar answered Sep 24 '22 19:09

Neyxo


This is not an answer to the specific question asked but a possible solution to My debug window has disappeared!. My situation was actually with Android Studio but should apply elsewhere.

My symptoms were:

  • I use multiple monitors and after a system crash my debug window vanished.

  • Before the crash my debug window was in window mode on a separate monitor. After the crash it was gone.

  • There was no Debug tab showing on the main window.

  • The Debug entry in the View menu was greyed.

The solution that finally worked was to set a break-point at a location I knew the code would hit, debug my project and make it hit the break-point. The Debug window magically appeared.

Remember to reposition the window correctly before exiting.

like image 31
OldCurmudgeon Avatar answered Sep 25 '22 19:09

OldCurmudgeon