hi,
have you ever tried debugging a device server written in Python (PyTango)?
I managed to attach the debugger (gdb) to the device server process (like described in wiki article DebuggingWithGdb - Python Wiki)
The standard gdb commands work fine but all the py-{cmd} ones fail with following message:
(gdb) py-bt
#37 (<_Util at remote 0x7f39801300c0>,)
Python Exception <type 'exceptions.AttributeError'> 'PyTupleObjectPtr' object has no attribute 'current_line':
Error occurred in Python command: 'PyTupleObjectPtr' object has no attribute 'current_line'
The way of attaching the debugger to the process:
~/gdb python <pid of ds process>
~/bt # -> shows full backtrace
~/py-bt # -> fails with above error message
I also tried the internal debugger of PyCharm IDE but it doesn’t seem to be working either.
Thanks in advance,
Gergely