views:

37

answers:

1

is it possible somehow to get the breakpoints to work in SharpDevelop with IronPython/Winforms? They work alright with other languages but with IronPython they just don't stop

+3  A: 

Breakpoints will work in SharpDevelop 3.2 if you run your application with the IronPython Console (ipy.exe) via the menu option Python | Run. Breakpoints will not work if you run your application with the debugger via the menu option Debug | Run. This is because the compiler does not generate debugging symbols.

You will also need to make sure that the Just My Code option is enabled in the debugger as shown in Debugging IronPython in SharpDevelop.

If you are using SharpDevelop 4 beta 1 currently breakpoints do not work at all.

Matt Ward
are they also supposed to work when developing a Windows application , or that way to run them is only for class library or console application? Because in the way you mentioned they also dont work for me when developing a Windows application
Meli
They should work for any sort of application, WinForms or Console.
Matt Ward