troy d. straszheim wrote:
In short (i'm guessing this is more or less what you'll need):
gdb --args /usr/bin/python /path/to/my/python/script.py
run
# it runs, throws an exception, but the stacktrace isn't helpful
catch throw # this only works after the first run
run
# jackpot, you're at the point of the throw
The throw point isn't very interesting in this case: In Python,
iteration is terminated by means of a 'StopIteration' exception. The
question is why this exception manages to escape uncaught.
FWIW,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
_______________________________________________
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig