The default layout has the debugger and console on separate tabs. I see that I can pop the Console as a floating window and even add it as a tab to the "Variables" or "Watches" pane in the Debugger tab. I'd like to have a layout that displays the Console and Debugger information at the same time (like a split pane, or a separate pane on the "Debugger" tab because it is useful to see the output to console while stepping through the debugger.
Any suggestions on how this can be accomplished? I'm using IntelliJ 13.1
All you can do is to drag one of the window icons(either debugger or console) to the other window and put onto the portion as you want. There will be purple highlighted box. This is how my debugger/console windows look like:
Related
I am having trouble with the window size of IntelliJ when I'm starting a new project. For instance, when I open IntelliJ and click on import project I don't see the "OK", "Cancel" button at the bottom of the window, plus the window cannot be maximized to full screen and I cannot scroll down.
I tried searching in the setting but I just don't understand what setting to click on. I recently started using IntelliJ and I don't wanna enable some setting that i"m not sure of and get into a new mess.
If you look at the pictures above, you can see the buttons or the options are just hidden because of the window size or the resolution of the window.
When I click Option-Q on an identifier to display the Quick-Documentation Popup instead of it showing up in a small dialog directly above the identifier it is showing in a large separate panel to the left.
This is suboptimal because the content is not where I wanted to look for it and because the new panel overlays the entire right side of the editor panel (and its contents).
Is there a Preferences setting for getting this to be a popup again?
Aha! There's a configuration menu that can be accessed by Right clicking on the top bar of the tool window. The first option Open as Popup is the one I wanted:
This will probably sound like a minor issue, but it's completely messing up my workflow:
I have a microservice that I restart frequently to refresh changes. I start in Debug mode, and use the curvy arrow in the upper left of the Debug tool window to stop/start the process.
In the Debug window, there are 2 tabs, Debugger and Console. For weeks, I've kept this on Console, and I can see the service run through startup, and I know when to start hitting endpoints. All of a sudden, whenever I start up, it switches to the Debugger tab, which means I have to manually switch back.
No documentation on this, and didn't find anything with a Google search. Does anyone have something to try?
Thank you
Update:
I start with the focus on Console (the right tab) and it switches to Debugger (the left tab). There is a "Focus on startup" in the context menu for Console, but it has no effect.
I'm not sure this is exactly what you're looking for. If it's not, could you please add some screenshots to the question which might better illustrate the problem? But if it is, here is what I found:
In the Debug tool window you have tabs like Output and Variables, which are probably the tabs you are talking about. You can right click any of these tabs and select Focus On Startup. You probably have this option selected for the wrong tab. So try selecting it for the Output tab.
You can toggle the Focus On Startup behavior for other tabs in the Debug tool window too.
Just like this question here:
IntelliJ: After hiding my "Output" sub-panel within the "Debug" panel, how do I get it back?
I canno get the log/console viewer back in debug mode.
The suggested solution in the given question no longer works the "restore layout" button does nothing, and the "certain spot" on the debug is extremely vague at best.
Is there a way to retrieve the console if it gets vanished (or better yet, just stop that button for vanishing it from even existing)?
I am using IntelliJ 12 Ultimate. If the restore layout didn't work for you either, this should fix the problem:
Open the Debug panel.
Keep mouse on the Debug tab and move it straight right to the Watches icon.
You may see a few more more icons here, and Output may or may not be visible (not visible for me)
If visible, click it and the Output view will be restored.
If not visible, move your mouse slowly to either side of the Watches icon and an empty block would highlight indicating that you are hovering over an icon. There may be several of these. Use tooltip to figure out which is Ouput and click it.
Worked for me, I hope it works for you too.
click the button on the left of Debug View called "restore layout",then the console will go back in the Debug View! 1
Syed explained it pretty well, but a picture could be even better:
A view can be hidden via its context menu, then restored by clicking the corresponding icon (with red circle) to the right.
You can restore the layout using this button as of 2018.1.8
In 2016.2, I had to re-run in debug mode for it to reappear. I could not find a way to un-hide the console in the debug window.
You don't say which version of IntelliJ you're using, but I've just tried this in version 12 and the console window minimises to the far right of the debugger tabs. Look at where it says 'Debugger' and then eyes right until you see one or more icons over the Watches panel. Try clicking on them. If you're not using version 12, then only god can help you :)
In v. 2020.1 there is Layout Settings on the top right corner of Debug window
I've just spent an hour trying to get my console output back, and although this answer didn't solve it, it did help.
I'm on Intellij 11.1 Ultimate Edition, and Restore layout didn't help. Nor did I have any icons above the Watches window in the debugger, but I clicked around above the Watches anyway - and suddenly my console output was restored.
I've tried clicking around there again to see if I can provide more concrete steps, but without success. Can only suggest you keep clicking till it reappears.
I'm trying to see what the value of myImage.height is in the debug mode in Xcode, I've got a breakpoint on this line...
float s=myImage.height/cos(30*M_PI/180)/2;
It all runs fine and get's to that line, in the debug panel I can see myImage (my Image is a Sparrow framework SPImage object) but I can't see any values for any of the class vars.
This is literally the first time I've used a break point/debug panel in xcode so I'm probably just not doing something right.
I also tried
NSLog(#"myImage height: %f",myImage.height);
But I can't see that being outputted in the output panel either.
I'm coming from a AS3 background, where you would see...
myImage.height along with it's value to the right in the debug panel in Flash, so I'm looking for the same thing in Xcode. Do I have to run it in a different mode or is there another panel to open or something?
In the console area, you can show 2 distinct "parts", one is the variables in scope, and the other is the actual output console. In the stack area, you can see all variables in scope.
You can also hover your mouse over any variable in code, then click on the little disclosuer arrow and select "print description" to have it plop it into the console. (The console is also where NSLog stuff goes).
Check out this picture:
And then this one:
Note you can also "print description" from the variable area:
edit here's more detail on the hover-access to the value: Click on the variable name, then move the mouse to the right, and there should pop up a yellow bar with info about the instance. This is is different from the little blue arrow, which is available even when not debugging.
If anything is being outputted, it's in the bottom panel. There are three icons on the top right of the bottom panel, and each one shows different data views. Try all three. In case you can't see the bottom panel, you can show it with the middle button in the segmented control above the word "View" in the top right of your XCode window.