PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

How to step into Python stantandard library function?

Open F-I-D-O opened this issue 3 years ago • 2 comments

How can I use PTVS to step from python code to python standard library function? Currently, the debugger just steps over, instead of into.

I tried to add the PythonDeveloper key to the registry in order to enable the Show Native Python Frames and Use Python Stepping options according to #2657, but it has no effect, i.e., the context menu in Locals -> Python only contains two other options.

F-I-D-O avatar Jun 30 '22 15:06 F-I-D-O

If I remember correctly, the registry key is only picked up when PTVS is loaded, not live during a debug session - might it be that?

int19h avatar Jul 11 '22 17:07 int19h

What do you mean by "when PTVS is loaded"? I've tried to restart Visual Studio after registry modification with no effect...

F-I-D-O avatar Jul 18 '22 20:07 F-I-D-O

My apologies for a belated response - yes, it would only get picked up when VS is restarted.

If that wasn't the problem, then perhaps you were setting the entries for 32-bit apps? Since VS is now 64-bit I believe the registry paths have changed accordingly.

int19h avatar Mar 02 '23 05:03 int19h

This issue was closed because it has been stalled for 30 days with no activity. If the issue still persists, please reopen with the information requested. Thanks.

github-actions[bot] avatar May 20 '23 00:05 github-actions[bot]