Commit graph

507 commits

Author SHA1 Message Date
Eric Snow
d8c30bd0ea Add unit tests for __main__.py. 2018-04-04 00:12:20 +00:00
Don Jayamanne
7319b0a3e4
Default host name to 127.0.0.1 when launching the debugger via debug function (#297)
* Fixes #292
* pass host name
* fix code review comment
2018-04-03 16:07:59 -07:00
Eric Snow
ec58fc9a11
Merge pull request #293 from ericsnowcurrently/fix-mac-tests
Fix mac tests.
2018-04-02 14:42:27 -06:00
Eric Snow
b18b9ced29 Wait for commands instead of just expecting them. 2018-04-02 14:37:30 -06:00
Eric Snow
cdd42180ba Add FakePyDevd.wait_for_command(). 2018-04-02 14:34:12 -06:00
Eric Snow
9325d08855 Add CMDID. 2018-04-02 13:46:44 -06:00
Eric Snow
34b2b80e78 Wait for the debugger to finish before ending the test. 2018-04-02 13:27:32 -06:00
Eric Snow
78d3225c2a
Merge pull request #291 from ericsnowcurrently/fix-test-race
Fix a test race with the initial "output" event.
2018-04-02 12:44:08 -06:00
Eric Snow
d68f0c95f7 Fix a test race with the initial "output" event. 2018-04-02 18:40:36 +00:00
Eric Snow
6ca3e15618
Merge pull request #290 from ericsnowcurrently/verbose-tests
Run tests verbosely.
2018-04-02 12:01:13 -06:00
Eric Snow
12bf34ae65 Run tests verbosely. 2018-04-02 17:53:47 +00:00
Eric Snow
bcbdd48eb3
Merge pull request #266 from ericsnowcurrently/cli
Add explicit CLI handling for ptvsd.
2018-04-02 11:35:37 -06:00
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