Is there any way to break on the next line of code executed in Visual Studio?

Have you tried the Debug > Break All (“pause”) button? (Ctrl+Break)

Debug > Break All

It’ll usually break somewhere pretty low on the stack, like at Show() for your main form in a WinForms app, but if you then Step Into to get past that, it’ll often work pretty well for this sort of thing.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)