How to step into cpp file for debugging

I am trying to debug

return Variable._execution_engine.run_backward(
        outputs, grad_outputs, retain_graph, create_graph,
        inputs, allow_unused)

from autograd code.

I have conda environment setup and could see all python sources but not csrc directory which is required for debugging here: ~/anaconda3/envs/dl/lib/python3.6/site-packages/torch

How should i step into cpp files (python_engine.cpp) from python source. I am using PyCharm for debugging.

afaik, there is no way to step into a binary build. it is also not even a debug build. the autograd engine is run in multithread so stepping in gdb will be hard anyways. what’s the issue?

I am working on https://github.com/pytorch/pytorch/issues/8080 this issue and was wondering to debug into python_engine.cpp