I am using VisualStudio 2012 and VisualStudio does not showing window for local variables while debugging.
Please refer to following image
To open the Locals window, you must be debugging. From the Debug menu, choose Windows, and then choose Locals.
Hit Start and begin debugging. Once you're in Debug mode you should be able to go to Debug -> Windows -> Locals
Like this
This Window won't be available in the context menu until you are in Debug mode
Related
Is it possible to create contextual keymaps (shortcuts) in Rider?
For example, in VS, F5 is the shortcut for "run in debug mode". Then if you put a breakpoint and it hits, while you're in the debug mode, F5 will let go and "resume" the execution of the app.
But in Rider it seems like I can't accomplish this - I don't see a way to map F5 to "Resume" only when I'm attached to the application process. If I map both "Run in debug mode" and "Resume" to F5 in keymappings, and the breakpoint hits, if I press F5 to resume, it will instead stop the process, rebuild, run and attach again.
I checked how they envisioned this to work, and they actually mapped Alt + F5 to "run in debug mode" and F5 to "resume". But I'd prefer it if I could avoid the Alt bit.
Is what I'm looking for possible with Rider, and if so - how?
Thank you.
To achieve the same behavior as in Visual Studio you simply need to remove a shortcut from the "Debug" action and leave it on "Resume Program".
Now you can press F5 and Rider will automatically run a project in the debug mode.
If I close all my current terminal windows then right click a folder in my project and choose "Open in Terminal" I see this:
It drops me into "Local(2)" but also opens "Local". Why does it do this? Can I have intellij just open one terminal when I do this?
It's a cosmetic issue. Opening Terminal tool window automatically starts the terminal in the current project root.
When you invoke the Open in Terminal for a folder, the following happens:
Terminal tool window opens automatically starting the shell in the project root
An action to open a terminal in the selected folder is called which leads to the second tab open
Bug report is welcome.
I'm write console application on C++ and wanna use CLion (JetBrains). But when i'm runned exe, it use internal IDE console output. Is there way to say to CLion that it should use cmd.exe directly without internal console?
I don't think there is a way to use cmd.exe (default command-line interpreter), while using CLion (JetBrains). But you can amend setting to have CLion console in a separate window.
Press Alt+F12.
Console will appear at the bottom.
In the right top corner of console there is a "gear" symbol ⚙️ (settings), click on it.
Go to "View mode" and select "Float".
I'm trying to profile my Android app. I installed the JProfiler plugin through
IntelliJ IDEA --> Preferences --> Plugins
Here's a screenshot of the plugin description:
When I try to run the profiler nothing happens and I get this message saying that the JProfiler executable is null:
Any idea on how to fix this?
You need to set or re-set the JProfiler executable. Do the following:
Select "Edit Configurations" from the "Run" drop down menu
Select "Application" under "Defaults" in the dialog box (or any existing run configuration)
Select the "Startup/Connection" tab
Select "JProfiler" in the list
Click on the "Select JProfiler Executable" button
Choose the JProfiler executable, which is
[JProfiler installation directory]\bin\jprofiler.exe on Windows
[JProfiler installation directory]/bin/jprofiler on Linux/Unix
[JProfiler installation directory]/bin/macos/jprofiler.sh on Mac OS X
You have to install JProfiler first, you can download it here.
You need to have JProfiler 7.2.2 (or newer) which integrates with IntelliJ IDEA 12
http://www.ej-technologies.com/download/jprofiler/changelog.html#7.2.2
To start, in a file browser check if you have the plugins folder, if not create it, so it looks like this
C:\Users\[username]\.IntelliJIdea12\config\plugins
If running IntelliJ IDEA 12, close it.
Inside JProfiler go to
Session -> IDE Integrations
And choose IntelliJ IDEA 12.x and click Proceed button
Choose your .IntelliJIdea12 folder
C:\Users\[username]\.IntelliJIdea12
And you're done, you should see a new button Next to Run [class#method] with Coverage that says Profile [class#method]
If I wanted to browse files, export databases, etc. on Android Emulator in Eclipse, I used File Explorer.
I cannot find this tool in IntelliJ and it seems that Android does not have its own GUI tool.
Does IntelliJ have this tool or I'd have to use adb console tool?
Although, IntelliJ does not have the File Explorer (like Eclipse has), we can use Android SDK native tool DDMS. You can find it in /tools/ folder. Start it, let it connect to Emulator's process and then open its File Explorer (Device/File Explorer). It has the same functionalities like Eclipse's plug-in.
There is a FileExplorer in IntelliJ.
You cand find it via the IntelliJ toolbar: Tools -> Android -> Monitor
There is no such tool in IDEA.
There is a file browser in Intellij, and it can be used to browse both local and remote file systems. It is called Browse Remote Host, which is a bit confusing, but it can be used to browse the local file system as follows:
Add a "server", denoting the local file system you want to browse:
Tools → Deployment → Configuration... → Add (green + sign)
Name: <name that will appear in popup menu in the browser window>
Type: Local or mounted folder
→ OK
Folder: <select the top directory of the file system you want to browse>
→ OK
Now, open the browser window as follows:
Tools → Deployment → Browse Remote Host
The browser window will appear at the right side of the IDE.
To tie a few of these answers together, there is a standalone tool at:
/android-sdk/tools/monitor.bat
You can launch it from IntelliJ using
Tools -> Android -> Monitor
Or Eclipse using
Window -> Open Perspective -> DDMS
Either way, you get the exact same tool.
Go to Tools->Android->Monitor in your Intellij IDE.
askmo, maybe Intelliji IDEA commander tool will be helpful to you,
Try it in Window -> Tools Windows -> Commander
webhelp: http://www.jetbrains.com/idea/webhelp/commander-tool-window.html
I'm not sure if its just improved over time over what others have discussed here, but I really like using DDMS with IntelliJ. I access it by: Tools->Android->DDMS.
I access the file explorer by clicking on my device in the top left hand window, then selecting Device->File Explorer.