iqsharp icon indicating copy to clipboard operation
iqsharp copied to clipboard

Add ability to interrupt %debug session

Open tcNickolas opened this issue 3 years ago • 1 comments

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.

tcNickolas avatar Jun 29 '21 22:06 tcNickolas

This is a good idea! I'll work on this feature idea and include it in my finalized PR for expanding %debug functionality.

Reemeela2121 avatar Jun 30 '21 21:06 Reemeela2121