Commit graph

1304 commits

Author SHA1 Message Date
Pavel Minaev
489dd4200d Rename ptvsd.adapter submodules to avoid name clashes with variables. 2019-10-30 17:12:17 -07:00
Pavel Minaev
095e5bcd5c Fix #1713: Adapter: multiple concurrent sessions 2019-10-30 17:12:17 -07:00
Fabio Zadrozny
608803cb99 Subprocesses should inherit PydevdCustomization. Fixes #1874 2019-10-30 07:43:44 -03:00
Fabio Zadrozny
fe988d8149 Report ppid on pydevdSystemInfo on Python 2.7 on Windows. Fixes #1877 2019-10-30 07:43:33 -03:00
Fabio Zadrozny
88db1db271 Backport of https://github.com/fabioz/PyDev.Debugger/pull/151 to ptvsd 2019-10-28 08:54:00 -03:00
Fabio Zadrozny
e7727eb17a Add new line to justMyCode message. Fixes #1844 2019-10-25 08:04:32 -03:00
Fabio Zadrozny
2e5b89deb0 Properly evaluate unicode strings on Python 2. Fixes #1864 2019-10-24 07:49:45 -03:00
Fabio Zadrozny
d01300a915 Use python 3.8 instead of python 3.8-dev in travis. Fixes #1856 2019-10-23 10:52:49 -03:00
Fabio Zadrozny
c22400bcf7 Make sure that ModuleEvent information is json-serializable. Fixes #1867 2019-10-23 10:52:41 -03:00
Fabio Zadrozny
bb3865df8e Created pydevd utility for clients to send custom json messages. Fixes #1860 2019-10-23 10:52:33 -03:00
fabioz
959412a77c Handle binary data when redirecting pydevd output. Fixes #1640 2019-10-23 10:52:25 -03:00
Fabio Zadrozny
2b73956aa9 Build failure on Windows when running setup_cython.py. Fixes #1857 (#1858) 2019-10-18 10:45:30 -07:00
Fabio Zadrozny
cd44e3b514 Support Python 3.8. Fixes #1845 (#1855) 2019-10-17 13:34:42 -07:00
Pavel Minaev
492e5e0f62 Fix #1852: Deferred server events are not always propagated 2019-10-16 16:03:46 -07:00
Pavel Minaev
f7df43d2cb Fix --log-stderr in adapter and server. 2019-10-16 14:36:09 -07:00
Pavel Minaev
b2111b93ca Switch test output capture to use os.pipe(). Fixes #1819. 2019-10-16 11:44:17 -07:00
Pavel Minaev
b3f0265785 Place pydevd log file in debug.Session log directory, for better handling of multi-session (e.g. multiproc) tests.
Always log to disk for test runs, and dump all ptvsd and pydevd logs on test failures and timeouts.
2019-10-16 11:44:17 -07:00
Pavel Minaev
3c9d84a2c5 Fix disconnect flow.
Render session start/end more clearly.
2019-10-15 14:50:58 -07:00
Pavel Minaev
20a9bb74b0 Reverse server/adapter connection direction in "attach" scenarios per #1830 2019-10-15 14:50:58 -07:00
Karthik Nadig
1c1728355e
Build updates for windows (#1847) 2019-10-15 14:20:34 -07:00
Fabio Zadrozny
c0108c08b5 Use pid for files created in pydevd logging. Fixes #1831 2019-10-15 08:30:36 -03:00
Pavel Minaev
8a9968bab6 Add sequence diagrams for subprocess debugging. 2019-10-14 16:13:16 -07:00
Fabio Zadrozny
c452d28088 pydevd authorize request. Fixes #1829 2019-10-10 09:30:37 -03:00
Fabio Zadrozny
a4892f4cd4 Make sure that messages are sent before shutdown. Fixes #1813
Also fixes deadlock with fork.
2019-10-10 07:33:55 -03:00
Karthik Nadig
bf362417f8
Use settrace directly in enable_attach (#1839) 2019-10-09 13:54:00 -07:00
Karthik Nadig
c6cee270ca
Reverse the connection direction used by enable attach internals. (#1833)
* Minor cleanup
* Reverse the direction used by enable attach internals.
* Handle occasional Invalid argument
2019-10-08 22:24:27 -07:00
Karthik Nadig
ffc6306d8b
Updating telemetry and some comments (#1825)
* Change version field name in telemetry
* Add info on where to set justMyCode
* Address comments.
2019-10-03 20:30:05 -07:00
Pavel Minaev
66f37523ed Re-enable test_break_api[code] on Python 2.7. 2019-10-03 18:31:37 -07:00
Pavel Minaev
03c75833d4 Reformat product code. 2019-10-03 18:31:37 -07:00
Pavel Minaev
89be0d1fce Reformat tests. 2019-10-03 18:31:37 -07:00
Pavel Minaev
95dde37734 Refactor test_set_expression. 2019-10-03 18:31:37 -07:00
Pavel Minaev
2935c000f0 Refactor test_evaluate to use simplified APIs where possible, and to test more scenarios. 2019-10-03 18:31:37 -07:00
Pavel Minaev
5f11b7580e Improve reporting of captured multiline debuggee output in tests. 2019-10-03 18:31:37 -07:00
Pavel Minaev
c1486a99b9 Fix log.stderr_levels not respected. 2019-10-03 18:31:37 -07:00
Pavel Minaev
a1ba6f22a5 Fix debug.Session hanging on failed test if debuggee is still alive. 2019-10-03 18:31:37 -07:00
Pavel Minaev
b6c8fd8a91 Simplify JsonIOStream.from_process. 2019-10-03 18:31:37 -07:00
Karthik Nadig
2c0903078e
Update coverage badge from sonar 2019-10-01 14:36:42 -07:00
Graham Wheeler
e5bf504b69
Sonar auto-scan properties file added (#1822)
* Add sonar file.

* Add Sonar Cloud config file.

* Add Sonar Cloud config file.

* Updated sonar props.
2019-10-01 13:46:19 -07:00
Fabio Zadrozny
3b6655f25f Considering <string> filename top-level traceable if frame.f_back is also <string> (fixes test_break_api). 2019-10-01 16:21:47 -03:00
Fabio Zadrozny
f9260a95c7 Make it possible to reconnect on attach to pid. Fixes #1760 2019-10-01 16:21:47 -03:00
Karthik Nadig
2e6cfc327b
Tweak sonar properties 2019-10-01 11:28:26 -07:00
Karthik Nadig
edf6926a4b
Add coverage badge 2019-10-01 10:31:15 -07:00
Graham Wheeler
4005f0b6ef Add sonar file. (#1800) 2019-09-30 23:32:27 -07:00
Pavel Minaev
75c7bcb9dd Merge branch 'master' into refactor 2019-09-30 23:14:00 -07:00
Pavel Minaev
14b0e80f2e Disable test_wait_on_abnormal_exit_enabled due to #1819. 2019-09-30 22:01:27 -07:00
Pavel Minaev
70396bd9fd Disable test_wait_on_normal_exit_enabled due to #1819. 2019-09-30 22:01:27 -07:00
Pavel Minaev
d19df683d5 Fix adapter timing out in wait-on-exit scenarios. 2019-09-30 22:01:27 -07:00
Pavel Minaev
f1f539a7f6 Fix encoding issues in pytest stdio logs. 2019-09-30 22:01:27 -07:00
Pavel Minaev
ca56bf70ba Disable Python stdio buffering when spawning processes in tests. 2019-09-30 22:01:27 -07:00
Pavel Minaev
f60cc99c8f Remove test_client_ide_from_path_mapping_linux_backend, since the corresponding product functionality has been removed. 2019-09-30 22:01:27 -07:00