Search code examples
.netwinformsideironpythonsharpdevelop

breakpoints in SharpDevelop with IronPython


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


Solution

  • 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.