-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to debug the code #29
Comments
Hi, One way to do this is to run python with your debugger (e.g. gdb python or lldb python), then do 'run file.py' in the debugger. Printfs and assertions are always helpful too ; ) |
Thanks. Also, do you know if there is any way to debug mitsuba? Actually I want to write my algorithm as a mitsuba plugin and then apply your code to compute the gradient with regard to the rendering parameter. |
You can also use gdb or lldb or even visual studio debugger to launch Mitsuba |
use gdb/lldb to debug python. and load the symbol file to your debugger. |
Closing this issue. Feel free to reopen if there are more questions. |
Hi, I just want to know your method to debug the pyrender, since it is written in C++, and we call it by python, how can I step in the cpp file in pyrender?
The text was updated successfully, but these errors were encountered: