Last edited Apr 24 at 9:53 PM by crwilcox, version 18


shlomiassaf Mar 27, 2014 at 10:26 PM 

I answered here:

pminaev Mar 27, 2014 at 9:53 PM 
When you get the message telling you that "stack frame was not found", do you get an option to manually locate the source file in question somewhere? If you do, then once you open it, VS will remember the association.

If this option is not available, can you provide a screenshot of what you're seeing at that point? It might be better to move the discussion to our forum ( to keep it in its own thread and for easier reply tracking.

shlomiassaf Mar 27, 2014 at 9:40 PM 

When remote debugging, I run the script outside of the source file.
I am in path: /src/
Source file is in /src/py1/

There are other directories in src... (/src/py2, /src/pt3 etc...)
I run the script from /src: ./py1/

This method does not work with the debugger.
When I set a breakpoint it hits but I cant debug...
A view is opened with a message:
the current stack frame was not found in a loaded module ptvs ....

If I remove the break point, no hit.

If I create a new python project setting using /src/py1 as root of the project the breakpoint hits and I get access to debug.

I couldnt find any option to MAP the project.
The debugger think /src/py1 is the root when its not, for me...

How can I override this behavior?