Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to save breakpoints in IntelliJ and restore later?

Can I define a set of breakpoints, and save this definition in IntelliJ and restore later on?

Like I have breakpoints at line 40 and 50 for Class A. Can I save them, and later restore in any way?

like image 520
Koray Tugay Avatar asked Sep 11 '13 06:09

Koray Tugay


People also ask

How do I keep breakpoints in IntelliJ?

Manage breakpoints To do this, go to Settings/Preferences | Build, Execution, Deployment | Debugger and select Drag to the editor or click with middle mouse button. Clicking a breakpoint will then enable or disable it.

How do I save breakpoints in eclipse?

In Eclipse (debug perspective -> breakpoints) select all the breakpoints, right click, export breakpoints!

How do I save in IntelliJ?

You can always save your changes manually: Press Ctrl+S or select File | Save All from the main menu.

What is drop frame in IntelliJ?

IntelliJ IDEA lets you fall back to a previous stack frame in a program's execution flow. This can be useful, for example, if you've mistakenly stepped too far, or want to re-enter a method where you missed a critical spot. Click the Drop Frame icon. on the toolbar of the Debug tool window.


1 Answers

You can find all breakpoints in project-dir/.idea/workspace.xml -> <component name="DebuggerManager">. You can save their manually.

like image 170
komelgman Avatar answered Sep 23 '22 04:09

komelgman