Commit graph

1945 commits

Author SHA1 Message Date
Eric Snow
d0a8b41b42 Stop importing ptvsd.wrapper in ptvsd.__init__. 2018-04-02 17:29:35 +00:00
Eric Snow
0cb2a86f48 Monkeypatch instead of re-importing. 2018-04-02 17:29:34 +00:00
Eric Snow
6f4ed16ad6 Fix _run_argv(). 2018-04-02 17:29:34 +00:00
Eric Snow
d15e876d14 Leave a note on PyDevd CLI sources. 2018-04-02 17:29:34 +00:00
Eric Snow
b4bafe0608 Add dedicated CLI handling for ptvsd. 2018-04-02 17:29:34 +00:00
Eric Snow
6a68e13bd4 Move helpers into __main__. 2018-04-02 17:29:32 +00:00
Eric Snow
e08feef596 Convert import side-effects into explicit calls. 2018-04-02 17:19:14 +00:00
Eric Snow
2ec1bc93db
Merge pull request #283 from ericsnowcurrently/fix-tests-race
Fix races in test code.
2018-04-02 11:06:57 -06:00
Eric Snow
4087a3c0bf Fix test_attach. 2018-04-02 17:02:14 +00:00
Eric Snow
46802a582f Add HighlevelFixture.close_ptvsd(). 2018-04-02 16:59:47 +00:00
Eric Snow
74d6c6ac46 Wait for exited/terminated events upon disconnect. 2018-04-02 16:48:03 +00:00
Eric Snow
e8890dea01 Add HighlevelFixture.wait_for_events(). 2018-04-02 16:29:22 +00:00
Eric Snow
886959222d Give the live tests time to finish. 2018-04-02 16:18:06 +00:00
Eric Snow
d6fafeff07 Fix typo. 2018-04-02 16:18:06 +00:00
Eric Snow
f705e1be97 Wait for an "output" event in the right place. 2018-04-02 16:18:06 +00:00
Eric Snow
7df11a30a0 Do the disconnect dance properly. 2018-04-02 16:18:06 +00:00
Eric Snow
5249e5f6c0 Optionally print messages passing through the daemon. 2018-04-02 16:18:06 +00:00
Eric Snow
3111e21e4b Factor out BinderBase. 2018-04-02 16:18:06 +00:00
Eric Snow
419a4162bb Split up close(). 2018-04-02 16:18:06 +00:00
Eric Snow
16b31c36aa Demarcate the groups of processor methods. 2018-04-02 16:18:06 +00:00
Eric Snow
d51b9bc95b Emit a warning if we never get the "disconnect" request. 2018-04-02 16:18:06 +00:00
Karthik Nadig
2ae11617f7
Merge pull request #286 from karthiknadig/bugs
Minor fixes to system info
2018-03-30 19:35:59 -07:00
Karthik Nadig
3df3b67b91 Removing unused variable 2018-03-30 19:32:00 -07:00
Karthik Nadig
9071c3ab9b Linting fixes 2018-03-30 19:21:12 -07:00
Karthik Nadig
2cef331e51 Switching except cases in system info to use None 2018-03-30 15:46:41 -07:00
Karthik Nadig
f0140fa044 Minor fixes to system info 2018-03-30 15:30:22 -07:00
Pavel Minaev
2e2f838efd Remove dummy.txt hack 2018-03-28 21:42:18 -07:00
Pavel Minaev
d76bf5676e Disable long_description for now - breaks setup.py sdist. 2018-03-28 21:04:28 -07:00
Pavel Minaev
39d70cca35 Fix ThirdPartyNotices.txt inclusion 2018-03-28 21:01:02 -07:00
Pavel Minaev
68c983ca9e Remove Python 3.5 package 2018-03-28 20:42:56 -07:00
Pavel Minaev
6698947e87 Add package information. 2018-03-28 15:18:43 -07:00
Pavel Minaev
528b371077 Handle pseudo-socket recv racing with close. 2018-03-28 15:05:17 -07:00
Pavel Minaev
584d1db548 Also handle PendingDeprecationWarning. 2018-03-28 15:05:17 -07:00
Pavel Minaev
e7e95c995e Fix imp deprecation message (and associated spurious 'output' messages). 2018-03-28 15:05:17 -07:00
Pavel Minaev
84f5c990e4 Update version number to 4.0.0a5 2018-03-28 12:48:31 -07:00
Don Jayamanne
095be0116a
add FIX_FILE_PATH_CASE to know properties _parse_debug_options (#275)
Fixes #274
2018-03-28 12:43:46 -07:00
Don Jayamanne
474a435b18
pass debug options when attaching (#277)
Fixes #276
2018-03-28 12:33:25 -07:00
Don Jayamanne
9fb901605f
Changed default values from strings to booleans in exceptionBreakpointFilters
Fixes #272
2018-03-28 11:19:24 -07:00
Pavel Minaev
aad3de1090 Fix #261: Raw value does not get the full string
Disable safe_repr and pydevd representation limits for raw value retrieval.
2018-03-28 00:59:00 -07:00
Pavel Minaev
2b6f6b5639 Fix #256: Raw value retrieval does not work correctly for unicode objects in Python 2.7 2018-03-28 00:59:00 -07:00
Pavel Minaev
728762665a Fix #225: UnicodeEncodeError when using tool tips with non ascii characters
Handle pydevd message encoding and quoting idiosyncracies on Python 2.
2018-03-27 22:18:33 -07:00
Pavel Minaev
6a00bbf102 Fix #193: Capture usage of the experimental debugger
Provide a telemetry message incorporating ptvsd version in response to initialization request.

Add a custom message for more detailed information about ptvsd and its environment.
2018-03-27 12:55:55 -07:00
Don Jayamanne
9f382fcec7
Add support for VSC style debug options (#262)
Fixes #245
2018-03-27 12:45:01 -07:00
Karthik Nadig
05cc7dd87b
Merge pull request #260 from karthiknadig/dbgopt
Support few more debug options from VS
2018-03-26 21:54:50 -07:00
Karthik Nadig
e3ed54dc96 Fix linting errors 2018-03-26 21:46:03 -07:00
Karthik Nadig
056d0d0f70 Linting and minor test fixes 2018-03-26 21:46:03 -07:00
Karthik Nadig
e421c11287 Support wait on normal and abnormal exit 2018-03-26 21:46:03 -07:00
Karthik Nadig
8db1611d1b Enable support for REDIRECT_OUTPUT option from VS 2018-03-26 21:46:03 -07:00
Karthik Nadig
72020ce268 Rename launch_options to debug_options 2018-03-26 21:46:03 -07:00
Eric Snow
a99ce72b9b
Merge pull request #265 from ericsnowcurrently/fix-mac-tests
Fix the high-level tests on Mac.
2018-03-26 17:55:11 -06:00