RBVI / ChimeraX

Source code for molecular graphics program UCSF ChimeraX
https://www.rbvi.ucsf.edu/chimerax/
Other
136 stars 24 forks source link

Lightweight debug / development environment #36

Closed RodenLuo closed 8 months ago

RodenLuo commented 8 months ago

Hi,

If I want to step into the functions in this script (https://rbvi.github.io/chimerax-recipes/fit_search/fit_search.html) and the functions called by this script, is there a lighter way than compiling the whole code base? Mainly stepping into Python, rarely C++.

Thanks, Roden

tomgoddard commented 8 months ago

Setting up the Python debugger for ChimeraX is described in the ChimeraX programming manual

https://www.cgl.ucsf.edu/chimerax/docs/devel/ides_debugging_profiling.html

I found this by googling chimerax debugging. The script you are talking about has only about 3 interesting lines of code (I wrote it), so I would be inclined to just put in a few print statements if you are wondering what is going on.

If you have questions about the ChimeraX fitting or any of the recipes examples, I wrote that code and you can ask the questions on the mailing list chimerax-users@cgl.ucsf.edu or if you think it is so technical it would not be of interest to others you can send me email directly goddard@sonic.net.

RodenLuo commented 7 months ago

Many thanks! I actually saw that page. But somehow I thought to get there, I had to go from the previous page, which is compiling...