Environment data
- VS Code version: 1.28.1
- Extension version (available under the Extensions sidebar): 2018.9.0
- OS and version: Windows 7 SP1 64 Bit
- Python version (& distribution if applicable, e.g. Anaconda): 3.6.5
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
- Relevant/affected Python packages and their versions: None
Actual behavior
Debugger stops, but behaves as if the breakpoint was set in the callers script.
Expected behavior
Debugger should stop inside the module, exactly at the breakpoint's locoation and show local and global debug information
Steps to reproduce:
- Create "Caller File" somewhere not in the python path.
-
New folder $python\Lib\site-packages\mymodule
-
New Module File $python\Lib\site-packages\mymodule_init_.py
-
Load both folders into workspace
-
set breakpoint at print statement
-
start debug of caller file.
result: breakpoint will stop at import mymodule not at print ...
Logs
Environment data
Actual behavior
Debugger stops, but behaves as if the breakpoint was set in the callers script.
Expected behavior
Debugger should stop inside the module, exactly at the breakpoint's locoation and show local and global debug information
Steps to reproduce:
New folder $python\Lib\site-packages\mymodule
New Module File $python\Lib\site-packages\mymodule_init_.py
Load both folders into workspace
set breakpoint at print statement
start debug of caller file.
result: breakpoint will stop at
import mymodulenot atprint ...Logs