Python Forum
Visual studio debugger- "Frame not in module"
Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Visual studio debugger- "Frame not in module"
#1
Hi All,
"Frame not in module" - "The current stack frame was not found in a loaded module. Source cannot be shown for this”
This doesn't let me step through my code and use the debugger properly. How can I get this to work?
I have searched the NET , but I have not made any headway. I hope someone might have came across with the same issue before.
I have tried many suggestions, such as windows and exception setting, none of them seem to work for me.
This issue seems to be prevalent in the “Xamarin” section of Visual studio.
I know I can press F10 (Step over) to skip a line when I get this warning, but it would be great if I could avoid seeing this message and keep using F11 (Step into).

Any help would be appreciated.
Reply
#2
You should be asking this question on a more relevant Forum, rather than one dedicated to Python.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#3
Hello sparkz_alot,
I am using Visual Studio as my Python IDE. I feel there may be other people in this forum who do the same and might came across this issue.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to set PYTHONPATH in Visual Studio Code? aupres 5 4,132 Aug-15-2023, 03:51 PM
Last Post: snippsat
  how do I open two instances of visual studio code with the same folder? SuchUmami 3 881 Jun-26-2023, 09:40 AM
Last Post: snippsat
  Visual Studio Code NewPi 3 1,043 May-16-2023, 11:13 PM
Last Post: snippsat
  Visual Studio Code venv ibm_db error mesi1000 7 2,786 Nov-13-2022, 12:36 AM
Last Post: snippsat
  Debugger azizrasul 6 1,184 Nov-02-2022, 09:46 PM
Last Post: azizrasul
  debugging help on Visual Studio Code mg24 12 1,996 Oct-02-2022, 12:18 AM
Last Post: mg24
  Problem with importing Python file in Visual Studio Code DXav 7 5,072 Jun-15-2022, 12:54 PM
Last Post: snippsat
  Visual Studio Code Intellisense for Imported Modules Not Working hockinsk 1 2,711 Apr-23-2022, 04:41 PM
Last Post: deanhystad
Photo Visual studio code unable to color syntax on python interpreter tomtom 4 6,867 Mar-02-2022, 01:23 AM
Last Post: tomtom
  compile error Visual Studio Code jamie_01 2 1,692 Jan-25-2022, 09:36 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020