[chimera-dev] About debugging in chimera

张双博 2088zsp at gmail.com
Sun Jan 12 21:31:10 PST 2020


Dear Sir/Madam,

I am trying to debug one of the existing plugins to help my understanding
of how to write my extension. Usually, I would place "import pdb;
pdb.set_trace()" in some lines of the program where I am interested and run
it. And when the program encounters this line, it will stop, so I can go
through line by line to follow the logic of this python program, which is
really helpful. However, when I did this to one plugin of chimera, the
plugin and chimera seems frozen, I mean, both didn't respond and there is
no "(Pdb)" prompt in opening shell as normally did. I tried this in
different places in different scripts, none worked. So I would like to ask
how to enable this feature in Chimera or are there some other ways for
debugging in Chimera?

Sincerely,

Shuangbo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20200113/dce55024/attachment-0001.html>


More information about the Chimera-dev mailing list