DevTools should allow moving instruction pointer / setting next line to execute
It would be very useful if, when paused at a breakpoint, the execution pointer could be moved to some later line (to skip over the intervening lines).
This is a capability available in various native code debuggers (Visual Studio, Delphi, WinDBG, etc) and would be much appreciated when trying to debug other sites' code (e.g. during site compat testing, etc).
AB#42413538
I don't want anything Microsoft
On Thu, Nov 10, 2022, 12:06 PM Eric Lawrence @.***> wrote:
It would be very useful if, when paused at a breakpoint, the execution pointer could be moved to some later line (to skip over the intervening lines).
This is a capability available in various native code debuggers (Visual Studio, Delphi https://www.ideasawakened.com/post/delphi-tip-move-the-instruction-pointer-during-debugging, WinDBG, etc) and would be much appreciated when trying to debug other sites' code (e.g. during site compat testing, etc).
— Reply to this email directly, view it on GitHub https://github.com/MicrosoftEdge/DevTools/issues/117, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2ZI6OAWZFDQ7GA52JV2243WHUTRBANCNFSM6AAAAAAR4Y2M7E . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Because I am not going to pay for it
On Thu, Nov 10, 2022, 1:01 PM Brian Pitre @.***> wrote:
I don't want anything Microsoft
On Thu, Nov 10, 2022, 12:06 PM Eric Lawrence @.***> wrote:
It would be very useful if, when paused at a breakpoint, the execution pointer could be moved to some later line (to skip over the intervening lines).
This is a capability available in various native code debuggers (Visual Studio, Delphi https://www.ideasawakened.com/post/delphi-tip-move-the-instruction-pointer-during-debugging, WinDBG, etc) and would be much appreciated when trying to debug other sites' code (e.g. during site compat testing, etc).
— Reply to this email directly, view it on GitHub https://github.com/MicrosoftEdge/DevTools/issues/117, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2ZI6OAWZFDQ7GA52JV2243WHUTRBANCNFSM6AAAAAAR4Y2M7E . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@ericlaw1979 if I understand your request correctly, I think this is already possible:
- Set a breakpoint somewhere and hit it.
- Right click on the line where you want to move (in the line number gutter)
- Select Continue here
Execution continues from your current breakpoint and pauses again at the line you right-clicked on.
Does that help?
Unfortunately, no. The goal is to move instruction pointer (changing the flow of execution by skipping lines), not to simply "run until a future (temporary) breakpoint."
Thanks for clarifying. I was unaware that this feature existed elsewhere. This seems very useful. I'll make sure this is tracked by the DevTools team and prioritized.