Debugging PyTango using GDB python
|
|
---|---|
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 https://wiki.python.org/moin/DebuggingWithGdb) The standard gdb commands work fine but all the py-{cmd} ones fail with following message:
The way of attaching the debugger to the process:
I also tried the internal debugger of PyCharm IDE but it doesn't seem to be working either. Thanks in advance, Gergely |
|
|
---|---|
Hi Gergely, I've been using gdb and py-bt to debug segfaults and it worked fine, so I don't think your problem is related to pytango. Hope that helps, /Vincent |
|
|
---|---|
|
Hi Gergely,gnyiriYes, you can use pdb, winpdb. Other introspection techniques you can use are: |
|
|
---|---|
thanks for your answers! The issue is probably linked to my particular environment since I cannot debug other (not pytango) mixed code either. Gergely |