Debugging With SharpDevelop

To setup SharpDevelop to debug an exe you have created, follow the following steps. We are supposing that the exe is in c:\myfolder\MyDemo.exe.

Start SharpDevelop:

Create a new C# class library with File - New - Solution, C# Class Library and enter a name, for example, MyClassLibrary.

Select the menu Project - Project Options. Choose the Debug Tab:

In Start Action choose Start External and choose the path to your executable. Example, c:\myfolder\myDemo.exe

With File - Open, open the prg or prgs that you want to debug and set a breakpoint with F7 wherever you want to pause your program.

Have fun debugging you can Step IN, Step Over and more.