Commit graph

262 commits

Author SHA1 Message Date
Eric Snow
3df19db59f Un-skip tests for fixed bugs. 2018-03-02 01:01:21 +00:00
Eric Snow
5452de8c66 Fix thread IDs. 2018-03-02 01:01:21 +00:00
Eric Snow
98eec95cf2 Fix the default threads. 2018-03-02 01:01:21 +00:00
Eric Snow
c18b9a388f Add a MessageCounters helper. 2018-03-02 01:01:21 +00:00
Eric Snow
04abc78a1c Add a Counter class. 2018-03-02 01:01:21 +00:00
Eric Snow
87fffa7bdb Factor out Request, Response, and Event. 2018-03-02 01:01:21 +00:00
Eric Snow
b0a71d0105 Expect thread events during initialization. 2018-03-02 01:01:21 +00:00
Eric Snow
a1dcecf99f Do not kill-on-close during tests. 2018-03-02 01:01:21 +00:00
Eric Snow
fa15f3bb7c lint 2018-03-02 01:01:20 +00:00
Eric Snow
13df4d7b59 Use the vendored pydevd in tests. 2018-03-02 00:57:23 +00:00
Don Jayamanne
fa3dc2c7a6
add ability to redirect output (#157)
Fixes #60
2018-03-01 13:42:39 -08:00
Don Jayamanne
855559370e
Ability to redirect output in pydev (#156)
Adds the ability for PyDev to redirect output when a program is launched for debugging.
2018-03-01 12:04:02 -08:00
Don Jayamanne
c0ac096b82
include exception info when stopping due to exceptions (#153)
Fixes #152
2018-02-28 20:05:54 -08:00
Karthik Nadig
718d0e42df
Merge pull request #149 from karthiknadig/bugs2
Provide breakmode for exceptions
2018-02-28 14:03:11 -08:00
Karthik Nadig
141d7434af
Merge pull request #145 from karthiknadig/bugs
Thread and exceptions map cleanup
2018-02-28 14:01:46 -08:00
Karthik Nadig
7375d34fc9 Provide breakmode for exceptions 2018-02-28 13:38:44 -08:00
Don Jayamanne
c79762637c
Wait until disconnect request is received and replied to when debugee terminates (#134)
* wait for disconnect request when terminating
* SIGHUP is not available on windows
* Fixes #120
* Fixes #130
2018-02-28 09:54:04 -08:00
Don Jayamanne
5db5cf604f
Exit on SIGHUP signal (#129)
* exit on SIGHUP signal
* Fixes #128
2018-02-28 09:53:04 -08:00
Karthik Nadig
89d1c253e8 Remove thread from thread map after thread kill event 2018-02-27 17:38:10 -08:00
Karthik Nadig
771b951f8e Cleanup active exceptions on exection trace proceeded event 2018-02-27 17:37:17 -08:00
Karthik Nadig
e1ff23f686
Merge pull request #140 from DonJayamanne/handleDaemonThreadErrors
Improve handling of daemon thread termination when terminating the debugee
2018-02-27 16:56:32 -08:00
Karthik Nadig
f2ced8888a
Merge pull request #135 from karthiknadig/bugs
Make 'autogen' in 'IDMap.to_vscode' a required argument
2018-02-27 16:48:33 -08:00
Karthik Nadig
5825fbf7b5 Send a create event for each new thread found while handling on_threads request 2018-02-27 15:19:18 -08:00
Don Jayamanne
1d241a6919 code review comments 2018-02-27 15:09:11 -08:00
Eric Snow
d0daed71c1
Merge pull request #143 from ericsnowcurrently/lint
Fix a linting failure.
2018-02-27 15:47:09 -07:00
Eric Snow
81bd3bb7dc Fix a linting failure. 2018-02-27 22:45:49 +00:00
Eric Snow
d92867c29c
Merge pull request #142 from ericsnowcurrently/event-tests
Add high-level tests for PyDevd events.
2018-02-27 15:40:13 -07:00
Eric Snow
90d3f6eb77 Add tests for CMD_SEND_CURR_EXCEPTION_TRACE_PROCEEDED. 2018-02-27 22:36:55 +00:00
Eric Snow
3d28d2e6ea Add tests for CMD_SEND_CURR_EXCEPTION_TRACE. 2018-02-27 22:23:46 +00:00
Eric Snow
a3a6dc5f04 Add tests for CMD_THREAD_RUN. 2018-02-27 21:57:30 +00:00
Eric Snow
e6fef4ea03 Add tests for CMD_THREAD_SUSPEND. 2018-02-27 21:52:26 +00:00
Karthik Nadig
a94d616b55 Fixes #138 by removing any whitespace characters in args before using 2018-02-27 13:42:41 -08:00
Eric Snow
8314bb35a9 Add tests for CMD_THREAD_KILL. 2018-02-27 21:29:51 +00:00
Don Jayamanne
c16c706052 wait for daemon threads to di 2018-02-27 13:28:48 -08:00
Eric Snow
84f8de48a5 Add tests for CMD_THREAD_CREATE. 2018-02-27 20:28:43 +00:00
Karthik Nadig
de3ac19931 Make 'autogen' in 'IDMap.to_vscode' a required argument 2018-02-27 11:25:19 -08:00
Eric Snow
777e750cc4
Merge pull request #133 from ericsnowcurrently/request-tests
Add basic tests for the VSC protocol request messages.
2018-02-27 12:12:03 -07:00
Eric Snow
95d61cf7ad
Merge pull request #132 from ericsnowcurrently/fix-lifecycle-tests
Use the correct filter default in the lifecycle tests.
2018-02-27 11:45:24 -07:00
Eric Snow
578ffc67d5 Use the correct filter default in the lifecycle tests. 2018-02-27 18:41:24 +00:00
Eric Snow
27baf32bdf Add tests for the exceptionInfo requests. 2018-02-27 18:36:43 +00:00
Eric Snow
e07f725e68 Add HighlevelFixture.error(). 2018-02-27 18:36:23 +00:00
Eric Snow
0f4d1cf31b Add tests for the setExceptionBreakpoints requests. 2018-02-27 18:36:01 +00:00
Eric Snow
66cc2c3544 Add tests for the setBreakpoints requests. 2018-02-27 18:35:29 +00:00
Eric Snow
74b9ab8418 Add tests for the continue request (and friends). 2018-02-27 18:01:21 +00:00
Eric Snow
2ca357ba45 Add tests for the pause request. 2018-02-27 18:01:15 +00:00
Eric Snow
1ccad6d29e Fix HighlevelFixture.set_threads(). 2018-02-27 18:01:11 +00:00
Eric Snow
096f83e9c1 Add tests for the evaluate request. 2018-02-27 18:01:07 +00:00
Eric Snow
88afa59aad Add tests for the setVariable request. 2018-02-27 18:01:01 +00:00
Eric Snow
7a98479485 Restore HighlevelFixture._hidden properly. 2018-02-27 18:00:53 +00:00
Eric Snow
691d77fbd2 Use pydevd_xml.var_to_xml(). 2018-02-27 18:00:43 +00:00