This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Fix path mappings with remote debugging #624
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4604eb5
Fixes
DonJayamanne d419b62
merged
DonJayamanne 5e44dd5
Merged master
DonJayamanne c593658
fixes after merging master
DonJayamanne cf395c5
rename
DonJayamanne b3243aa
rename
DonJayamanne e0054f7
fix soruce refs
DonJayamanne e2216f2
change source ref
DonJayamanne 5ac4dc2
log message
DonJayamanne ff6f31b
remove logging
DonJayamanne df34137
use breakpoint instead of pausing
DonJayamanne cb426f9
Change how windows client is passed
DonJayamanne 6b6f4f6
remove unused imports
DonJayamanne c718bd2
Kill without signal
DonJayamanne 00548ee
More changes
DonJayamanne a85a216
case insensitive paths for source on windows
DonJayamanne ddb66aa
code review comments
DonJayamanne ff92dc0
Fix tests
DonJayamanne ea75028
oopsy
DonJayamanne a3acc46
ignore stack trace check
DonJayamanne 563f8f4
Ignore module
DonJayamanne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,8 @@ contact [[email protected]](mailto:[email protected]) with any additio | |
"Jinja", // Enables Jinja (Flask) Template debugging | ||
"FixFilePathCase", // See FIX_FILE_PATH_CASE in wrapper.py | ||
"DebugStdLib" // Whether to enable debugging of standard library functions | ||
"WindowsClient" // Whether client OS is Windows or not | ||
"WindowsClient" // Whether client OS is Windows | ||
"UnixClient" // Whether client OS is Unix | ||
], | ||
"pathMappings": [ | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 0 additions & 8 deletions
8
tests/resources/system_tests/test_breakpoints/mymod_foo/__init__.py
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
tests/resources/system_tests/test_breakpoints/mypkg_foo/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import mypkg_bar.bar | ||
|
||
|
||
def do_foo(): | ||
mypkg_bar.bar.do_bar() | ||
|
||
|
||
do_foo() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
tests/resources/system_tests/test_forever/attach_forever.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import ptvsd | ||
import sys | ||
import time | ||
|
||
ptvsd.enable_attach((sys.argv[1], sys.argv[2])) | ||
|
||
i = 0 | ||
while True: | ||
time.sleep(0.1) | ||
print(i) | ||
i += 1 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is, this is what VSC sends,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, got it.
In reply to: 201481855 [](ancestors = 201481855)