Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

SD5.0 RC (4696) - once stepping means always stepping

$
0
0

Noticed this on earlier beta revisions already but forgot to post here. As soon as you have ever debugged your project with a breakpoint or by running it using a Step command it will not be possible to run it anymore without halting on the first line of the code. Instead the Run command (F5) will act as if you used a Step command e.g. F10 from this point on. To fix it the user has to close and reload the project (or simply restart the IDE) so it seems it is reset on project load.

Steps to reproduce:

  • load up e.g. a Windows Forms project in SD
  • press F5 or choose Debug --> Run
    • the program will just run, no halting on any code line, as expected
  • now either let it stop on a breakpoint you set or stop debugging and start it again using "Step over" (F10)
  • stop debugging again
  • press F5 or choose Debug --> Run
    • this time the debugger will immediately stop at the first line of code that is executed ("main" function in Windows Forms application), as if F10 was pressed
    • F5 has to be pressed a second time to really get it running without halting

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles