Recent recipe for setting up a graphical debugger for python?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
greg_b
Posts: 21
Joined: Sat Oct 01, 2016 11:53 pm

Recent recipe for setting up a graphical debugger for python?

Post by greg_b »

I've been wanting to setup a gui python debugger with FreeCAD, so I can single step through things and see what happens. I've found some documentation on debugging on the wiki, and some on the forums: Debugging python code. But I haven't had success yet, and some of the information seems quite old (like the last release of winpdb seems to be 8 years ago). So I'm wondering if anyone knows of a more up-to-date recipe for getting a gui python debugger working with FreeCAD? I don't seem to have a working pip with the python within the FreeCAD directory (so that I could install the correct version of wxpython for winpdb), and my attempts to get a pip have failed also.

Thanks,

Greg

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.17.13522 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Recent recipe for setting up a graphical debugger for python?

Post by Kunda1 »

@mumme was working on this.
mumme wrote:ping
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

Re: Recent recipe for setting up a graphical debugger for python?

Post by UR_ »

Please have a look:
https://forum.freecadweb.org/viewtopic. ... hilit=2017

tested this and is working straight out of the box
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Recent recipe for setting up a graphical debugger for python?

Post by Kunda1 »

UR_ wrote: Fri Jul 27, 2018 9:14 pm Please have a look:
https://forum.freecadweb.org/viewtopic. ... hilit=2017

tested this and is working straight out of the box
@UR_
This looks like it's only available for windows and possibly OSX. No mention of Linux.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply