Commit graph

279 commits

Author SHA1 Message Date
Karthik Nadig
308eec2178 Checks for isErrorOnEval before responding to evaluate requests 2018-03-02 19:28:01 -08:00
Don Jayamanne
71403c1c8f
Fix file path case on windows (#166)
Fixes #88
2018-03-02 16:56:49 -08:00
Don Jayamanne
10d4e51f51
revert change introduced in #162 (#164)
Revert #162
2018-03-02 15:34:47 -08:00
Karthik Nadig
498c071ed4
Merge pull request #158 from karthiknadig/bugs
ExceptionInfo returns name and description obtained from __exception__ object
2018-03-02 11:39:39 -08:00
Karthik Nadig
22df7530a7 Fix comment typo 2018-03-02 11:37:33 -08:00
Karthik Nadig
e390b5f0c4 Moving exception info extraction to on_pydevd_thread_suspend handler. 2018-03-02 11:28:59 -08:00
Karthik Nadig
6692b414eb ExceptionInfo returns name and description obtained from __exception__ object 2018-03-02 11:25:33 -08:00
Don Jayamanne
89a3dc419b
Preserve file path case on windows for file paths returned (#162)
* always use 'UNIX' as os_id
* Fixes #88
2018-03-02 09:06:59 -08:00
Eric Snow
b946e59687
Merge pull request #161 from ericsnowcurrently/fix-tests
Update the DAP schema.
2018-03-01 18:59:00 -07:00
Eric Snow
33d441ce25 Update the DAP schema. 2018-03-02 01:57:58 +00:00
Eric Snow
70efe72123
Merge pull request #160 from ericsnowcurrently/fix-highlevel-tests
Fix highlevel tests.
2018-03-01 18:57:23 -07:00
Eric Snow
89fce50c1f Fix the lifecycle tests. 2018-03-02 01:56:10 +00:00
Eric Snow
0502d0496e Fix a dict ordering failure in a test. 2018-03-02 01:54:17 +00:00
Eric Snow
e1d1e5a062 Handle CMD_REDIRECT_OUTPUT in tests. 2018-03-02 01:48:36 +00:00
Eric Snow
4b6a557ecc Fix Counter.__repr__(). 2018-03-02 01:35:22 +00:00
Eric Snow
b8620c4dcf Add the "text" message for exception events. 2018-03-02 01:14:13 +00:00
Eric Snow
bf57745d84 Fix the lifecycle tests. 2018-03-02 01:01:21 +00:00
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