Re: [Python-Dev] Debugging Python scripts with GDB on OSX

2016-10-14 Thread Alexandru Croitor
Hi, I'm aware of PTVS, but I was hoping of getting a crude version of that for macOS, which you could say that GDB provides. Unfortunately the GDB functionality only works on Linux, which is why I sent my message in the first place, hoping that I might be missing something. Regards, Alex. >

Re: [Python-Dev] Debugging Python scripts with GDB on OSX

2016-10-14 Thread Wes Turner
On Friday, October 14, 2016, Alexandru Croitor wrote: > Hi, > > pdb is fine for pure python scripts. > > I was interested in things like getting the python back trace or local > variables from inside GDB, when used in conjunction with c++, so that I > know which parts of C++ calls python function

Re: [Python-Dev] Debugging Python scripts with GDB on OSX

2016-10-14 Thread Alexandru Croitor
Hi, pdb is fine for pure python scripts. I was interested in things like getting the python back trace or local variables from inside GDB, when used in conjunction with c++, so that I know which parts of C++ calls python functions, and which parts of python call c++ functions. You can't do tha

Re: [Python-Dev] Debugging Python scripts with GDB on OSX

2016-10-14 Thread Christian Tismer
Hi Alexandru, because I know that you are multi-platform, I can recommend the debugger integration of PTVS very much. I am currently using the WingWare debugger for all my projects, but the Python/C++ integration of PTVS is something that I didn't find anywhere else! Please have a look at the fo

Re: [Python-Dev] Debugging Python scripts with GDB on OSX

2016-10-13 Thread Christian Tismer
Hi Alexandru, I stumbled over this question a little late by chance. There is the possibility to use GDB, but it is most likely that you want to use python's pdb module, instead. Only in rare cases, when debugging the interpreter itself, you use gdb. For debugging Python code, use pdb or som

Re: [Python-Dev] Debugging Python scripts with GDB on OSX

2016-07-07 Thread R. David Murray
On Wed, 06 Jul 2016 16:14:34 -, Alexandru Croitor wrote: > I'm interested to find out if debugging Python scripts with GDB is supported > on OSX at all? > > I'm referring to the functionality described on > https://wiki.python.org/moin/DebuggingWithGdb and on > http://fedoraproject.org/wi