Idea

Axel Kohonen avatar image
6 Likes"
Axel Kohonen suggested Axel Kohonen edited

Debugger to stop at next possible line if a breakpoint is inserted on a line that the debugger cannot stop on

Hi,

Currently the debugger stops on the next possible line if a breakpoint is inserted on an empty line. However, the debugger does not stop at all if a break point is inserted on something else than the last row of a multi-line code like

string adf = "" +
"sdfadf" + 
"fffff";   //breakpoint needs to be on this line for the debugger to stop

This is a bit confusing as you think that you have a breakpoint, but in practice the debugger behaves as it there would not be a breakpoint at all.

So if possible I would think it would be more user-friendly for the debugger to stop on the next possible line also in the case of multi-line code. EDIT as suggested by @Mischa Spelt Would be even better if the debugger would stop on the first line in case of multi-line code.

Axel

debuggingdebuggerbreakpoint
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Mischa Spelt avatar image Mischa Spelt commented ·

Even better would be if the debugger stops on the current statement then, e.g. in the above example a breakpoint on any of the three lines would behave as if it was on the first line.

2 Likes 2 ·

No Comments

·

Write a Comment

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.

Related Ideas