iqsharp
iqsharp copied to clipboard
Add ability to interrupt %debug session
Describe the solution you'd like It would be nice to have a button in the %debug session itself to "Interrupt session".
Describe alternatives you've considered Currently the only way to finish the session before it reaches the end of the program is to interrupt the kernel. Doing this yields an error "One or more errors occurred. (A task was canceled.)", which is not accurate, since I intend to interrupt the debug session.
Additional context A %debug session can take a long time to click through all steps. Sometimes I want to show the idea and move on, or realize that I was too ambitious when setting the parameters of the session and want to retry with smaller parameters.
This is a good idea! I'll work on this feature idea and include it in my finalized PR for expanding %debug functionality.