I'm a Python newbie, and I'm looking for a way to debug Python scripts
run from a C++ program by using PyRun_FileEx() function.
So far I tried pdb, but it only raises bdb.BdbQuit exception in a line
immediately after pdb.set_trace() is called. I guess it's because it
is not running under normal Py
Thank's a lot miki for your response!
It seems that this problem is now solved, yet a new one now occured.
And the name of my new problem is...
""
Let me rewrite the code a little bit more clearly...
//***
//
Hello Fotis,
> I linked it to python24.lib (under eclipse cdt/win2k) and it compiles,
> links and runs fine.
> The problem is when I try to debug it (gdb). I cannot go single
> stepping into the code, more than one threads seem to be running, I get
> messages like "No source file named d:/workspac
hello there!
I am playing with embedded python these days. I wrote sth like this:
-- Code ---
#include
#include
#include
/* Return the square root of an argument */
static PyObject* Fotis_root(PyObject *self, PyObject *args)
{
dou