Commit graph

568 commits

Author SHA1 Message Date
Eric Snow
72be9f33e0 Move DebugSession to its own module. 2018-04-11 21:44:19 +00:00
Eric Snow
7be33ed9d2 Add the Proc testing helper. 2018-04-11 21:44:19 +00:00
Eric Snow
f9666d5147 Add TestsBase.pathentry. 2018-04-11 21:44:19 +00:00
Eric Snow
ac7b58e6d8 Add Workspace.write_script(). 2018-04-11 21:44:19 +00:00
Eric Snow
9f88f6fefd Add test_failure(). 2018-04-11 21:44:19 +00:00
Eric Snow
2061239672 Check the exit code. 2018-04-11 21:44:19 +00:00
Eric Snow
bf3e2412ff Add test_run_to_completion(). 2018-04-11 21:44:19 +00:00
Eric Snow
38e5592480 Add a test to ensure script args are honored. 2018-04-11 21:44:19 +00:00
Eric Snow
19b88174a9 Add Workspace.lockfile(). 2018-04-11 21:44:19 +00:00
Eric Snow
b665c304a7 Fix read_buffered(). 2018-04-11 21:44:19 +00:00
Eric Snow
7d61b6fbd4 Add acuire_with_timeout(). 2018-04-11 21:44:19 +00:00
Eric Snow
f31682bc06 Add more timeout support. 2018-04-11 21:44:18 +00:00
Eric Snow
67dea3a85a Add a full-stack test for an adapter with no messages. 2018-04-11 21:44:18 +00:00
Eric Snow
7c9dbad51e Drop a superfluous --. 2018-04-11 21:44:18 +00:00
Eric Snow
22cf581d5c Add editor/adapter/session testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
3201de33ca Expose more of the VSC-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
99aac9d6e6 Add message-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
c280a26b3d Add io-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
d6252bcb16 Add more socket-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
c01c1ba65a Add a noop() testing helper. 2018-04-11 21:44:18 +00:00
Eric Snow
0cbe4738e5 Add a Closeable testing helper. 2018-04-11 21:44:18 +00:00
Eric Snow
07feb02e21 Add the get_locked_and_waiter() testing helper. 2018-04-11 21:44:18 +00:00
Eric Snow
5e876f673b
Merge pull request #337 from ericsnowcurrently/fix-version
Set ptvsd.wrapper.__version__.
2018-04-11 15:43:02 -06:00
Eric Snow
5b821e65a3 Set ptvsd.wrapper.__version__. 2018-04-11 21:38:53 +00:00
Pavel Minaev
58dc367303 Merge branch 'master' of https://github.com/Microsoft/ptvsd 2018-04-11 14:05:01 -07:00
Karthik Nadig
6341bc4912
Merge pull request #334 from karthiknadig/bugs
Fix path mappings and settings for cross-platform launch
2018-04-11 14:03:13 -07:00
Pavel Minaev
06f8b73b7a Set up versioneer to auto-generate version numbers from git. 2018-04-11 14:00:48 -07:00
Karthik Nadig
b6e2ac3c6f Fix path mappings and settings for cross-platform launch 2018-04-10 13:37:00 -07:00
Don Jayamanne
5f7f764e2f
Rename flag to make it more meaningful (#326)
Fixes #322
2018-04-09 15:54:08 -07:00
Don Jayamanne
295fdedae6
Pass flag to inicate whether to handle file paths in a case sensitive manner (#323)
Fixes #322
2018-04-06 16:10:36 -07:00
Don Jayamanne
39dfffe20e
Add support for remote source references (#321)
Fixes #318
2018-04-06 13:49:28 -07:00
Pavel Minaev
b891b9ccc7 Fix #319: VS "Stop Debugging" triggers "Press any key to continue"
Do not stop on exit if attaching, or if disconnect request has been received.
2018-04-06 10:12:43 -07:00
Pavel Minaev
5becec33a9 Fix atexit issue with VS. 2018-04-06 09:23:24 -07:00
Pavel Minaev
c7d5f0be0c Update version number to 4.0.0a6 2018-04-05 15:18:59 -07:00
Karthik Nadig
8b2e592228
Merge pull request #311 from karthiknadig/bugs
Fixes an issue with missing frozen frames
2018-04-04 21:18:36 -07:00
Karthik Nadig
0a67e47c3e Remove message sent back for XML parse errors. 2018-04-04 21:14:23 -07:00
Karthik Nadig
ec1db425b1 Add send_error_response method 2018-04-04 21:04:36 -07:00
Karthik Nadig
984282dc53 Return parse exception message 2018-04-04 19:24:41 -07:00
Karthik Nadig
e975377da8 Changing from Exception to SAXParseException for XML parse errors 2018-04-04 18:44:46 -07:00
Karthik Nadig
6e359c7483 Fixes an issue with missing frozen frames 2018-04-04 14:37:55 -07:00
Don Jayamanne
88add63782
import pydevd_file_utils and invoke functions as module attributes (#310)
Part of #241
2018-04-04 14:21:08 -07:00
Don Jayamanne
44d18a0c89
Enable path mappings for remote debugging (#308)
Fixes #241
2018-04-04 14:20:49 -07:00
Eric Snow
5832fbd142
Merge pull request #296 from ericsnowcurrently/reattach
Refactor before fixing support for re-attach.
2018-04-04 11:48:34 -06:00
Eric Snow
7026e06b55 Fix the tests. 2018-04-04 15:41:11 +00:00
Eric Snow
cfa9a1e4e5 Use the wrapped functions in install(). 2018-04-04 15:40:51 +00:00
Eric Snow
7fc3629079 Do not pass the entire PydevdSocket object. 2018-04-04 15:07:33 +00:00
Eric Snow
1d8a948dc8 Move the pydevd hooks to their own module. 2018-04-04 15:07:32 +00:00
Eric Snow
859dc0ee0c Wait for the adapter to finish only if there is one. 2018-04-04 15:06:02 +00:00
Eric Snow
ca335238d3 Add docstrings. 2018-04-04 15:06:02 +00:00
Eric Snow
95ce9ed3b4 Avoid multiple close attempts. 2018-04-04 15:06:02 +00:00