this post was submitted on 26 Jun 2023
19 points (100.0% liked)

Programming

17313 readers
71 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
19
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Hi, has anybody of you ever seen a feature as described in the post in your environment?

Thank you

Update: As some readers appear to have skimmed the text, please feel free to point out possible accessibility issues, poor choices of words, etc.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (5 children)

Yes, visual studio lets you do this. You can drag the marker on the line of code that it's paused at, and move it around. There's probably restrictions, however it works in most simple cases.

A link here indicates that it's also possible in VS Code, however it may be C#/C++ only.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (3 children)

You can drag the marker on the line of code that it’s paused at, and move it around.

That is not the feature I described, though. I'm aware of CTRL + SHIFT + F10, but the feature description is basically a simple way to automate setting the next statement.

Be honest: Is there an issue with the representation of the page or did you skip those parts?

[–] [email protected] 2 points 1 year ago

Ah, I see. I didn't see the bit about it being a breakpoint (detour point?). That's what I get for skim reading rather than comprehending it. Visual studio will let you do this, but it's a manual step, by combining a normal breakpoint and an execute next statement, and you'd have to do this each time you hit the breakpoint.

Having it happen automatically? A fairly niche feature, but I can see a few uses for it. The component features are already there, so I don't think it would be difficult to implement in a debugger that already supported execute next statement.

load more comments (2 replies)
load more comments (3 replies)