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?
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.
In Eclipse (debug perspective -> breakpoints) select all the breakpoints, right click, export breakpoints!
You can always save your changes manually: Press Ctrl+S or select File | Save All from the main menu.
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.
You can find all breakpoints in project-dir/.idea/workspace.xml -> <component name="DebuggerManager">
. You can save their manually.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With