Pavel Minaev
95e349fdbb
Add tests for variable paging.
...
Fix "variables" handler to correctly handle invalid "start" values.
2024-05-03 14:26:19 -07:00
Pavel Minaev
de1e456aa2
Add object inspection tests for int
2024-05-03 14:26:19 -07:00
Rich Chiodo
278ed2fe2a
Add support for the goto request ( #1575 )
...
* Working goto handler
* Fix stack_trace_len
* Get test working
* Review feedback
* Use new_dap_id in the IDMap
* Use format string instead of old way
* Review feedback
* Feedback for step class rewrite
* Use trace function to detect line problems
* Remove unnecessary logging
* Optimize the stack_trace property
* Move error checking for stack frame to adapter
2024-05-02 11:24:07 -07:00
Pavel Minaev
81ed1ca909
Merge branch 'main' into v2
2023-12-20 12:18:15 -08:00
Pavel Minaev
479b8c4cab
Don't use pydevd helpers in tests.
2023-12-18 14:13:31 -08:00
Pavel Minaev
b9b09e662f
Fix #1408 : Can no longer expand Numpy arrays to view elements
...
Fix regression when loading pydevd plugins for numpy, pandas, and django.
Add smoke test for numpy arrays.
2023-12-15 00:14:23 -08:00
Pavel Minaev
6b5806c5f4
Fix #1337 : Get port info from debugpy
...
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
2023-12-12 10:50:53 -08:00
Pavel Minaev
ef9a67fe15
Fix #1337 : Get port info from debugpy
...
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
2023-10-06 09:55:52 -07:00
Adam Yoblick
9cc65eb123
disable this linter error
2023-09-19 15:29:18 -05:00
Pavel Minaev
6340818a0e
Enumerate installed packages & versions in the log as part of environment info.
2023-09-05 13:20:31 -07:00
Pavel Minaev
9997094101
Don't force-upgrade setuptools for test runs to avoid pkg_resources deprecation warning in gevent.
2023-09-05 13:20:31 -07:00
Pavel Minaev
88bf2c7827
Fix -Xfrozen_modules use in tests.
2023-08-28 13:14:39 -07:00
Pavel Minaev
83baa6d302
Fix -Xfrozen_modules warnings in test runs on Python 3.11 and 3.12
2023-08-17 11:00:07 -07:00
Pavel Minaev
12117683e7
Unpin greenlet in tests/requirements.txt
2023-08-16 14:58:54 -07:00
Pavel Minaev
d642538d7b
Don't assume column number to be 1, since this is no longer correct in Python 3.11.
2023-08-14 14:06:06 -07:00
Pavel Minaev
35504f83ed
Work around #1230
...
Look for more specific text in the output to avoid false positives.
2023-03-07 12:16:58 -08:00
Pavel Minaev
e9dc3e8844
Fix #1074 : Use "startDebugging" request for subprocesses
...
Use the request if client advertises the "supportsStartDebuggingRequest" capability.
2023-02-07 13:04:58 -08:00
Pavel Minaev
9fd3e72235
Disable PYDEVD_USE_FRAME_EVAL by default.
2023-01-19 13:14:35 -08:00
Fabio Zadrozny
c419d5a7fd
Don't stop on logpoints with conditions. Fixes #1146
2022-12-17 07:46:44 -03:00
Pavel Minaev
4067700ed8
Pin greenlet==1.1.3 in test dependencies due to #1126
2022-11-16 15:32:19 -08:00
Fabio Zadrozny
1d038201b3
Provide feedback/information in the debug console if attach to PID is slow. Fixes #1003
2022-10-17 07:05:09 -03:00
Fabio Zadrozny
349ff7337b
Show chained exception frames in stack. Fixes #1042
2022-09-26 15:21:40 -03:00
Fabio Zadrozny
61321253e7
Use pydevd.log_to in debugpy to enable pydevd logging given the usage of debugpy.log_to. Fixes #1030
2022-09-02 08:45:20 -03:00
Pavel Minaev
4f6638b0a6
Fix #1001 : Enable controlling shell expansion via "argsCanBeInterpretedByShell"
...
Fix #357 : "argsExpansion" does not do what it says in VSCode
Treat non-array "args" in debug config as a request to prevent shell argument escaping and allow shell expansion.
Remove "argsExpansion".
2022-08-04 13:49:32 -07:00
Pavel Minaev
5da7721d4d
Fix #975 : Properties parameter to the configure API has become required in 1.6.1
2022-07-07 14:08:20 -07:00
Pavel Minaev
0a9b01b008
Fix #865 : Debugging through poetry drops subprocess
...
Handle "exited" { "pydevdReason": "processReplaced" } appropriately.
Add test for os.exec() in-place process replacement.
2022-06-09 10:44:10 -07:00
Pavel Minaev
b46500c5dc
Mark test secrets as placeholders for CredScan compliance.
2022-05-25 14:11:38 -07:00
Pavel Minaev
f214dbb8b4
Remove unused imports.
2022-05-23 14:01:24 -07:00
Pavel Minaev
d2aa99f56d
Fix docstrings not exposed on public API.
2022-05-23 14:01:24 -07:00
Pavel Minaev
ccce63e112
Remove redundant test parameter.
2022-05-23 14:01:24 -07:00
Pavel Minaev
b0b8db12a5
Add test for wait_for_client.cancel()
2022-05-23 14:01:24 -07:00
giacomo
644c658e75
no need to use f-string
2022-05-02 00:16:19 -07:00
giacomo
a9a170bd63
re-format with black
2022-05-02 00:16:19 -07:00
giacomo
a9ea29ca22
add tests for string to nums conversion during json parsing
2022-05-02 00:16:19 -07:00
Pavel Minaev
729c02f866
Update timeline.md
2022-05-02 00:12:51 -07:00
Pavel Minaev
7623694856
Update timeline.md
2022-05-02 00:12:51 -07:00
Fabio Zadrozny
3d7499958c
Make errors with conditional breakpoints clearer. Fixes #893
2022-04-22 07:32:51 -03:00
Pavel Minaev
d1e5db7d8e
Use new-style super() everywhere.
2022-04-13 11:38:41 -07:00
Pavel Minaev
dd5196fbfc
Blacken code.
2022-04-13 11:38:41 -07:00
Pavel Minaev
3a1ecbac86
Remove more workarounds for old Python versions.
2022-04-13 11:38:41 -07:00
Pavel Minaev
0f428178b0
Remove debugpy.compat, custom !j formatter for JSON, and related helpers.
2022-04-13 11:38:41 -07:00
Pavel Minaev
1965b47034
Get rid of fmt() and use idiomatic format() and f"" instead.
2022-04-13 11:38:41 -07:00
Pavel Minaev
98087352cb
Remove code paths for unsupported Python versions.
2022-04-13 11:38:41 -07:00
Pavel Minaev
e87017e0b3
Remove redundant "from __future__ import ..."
2022-04-13 11:38:41 -07:00
Pavel Minaev
f3d9eb7853
Update timeline.md
2022-04-11 16:48:07 -07:00
Fabio Zadrozny
1b568ab86a
Re-enable frame eval mode by default.
2022-04-07 10:31:14 -07:00
Fabio Zadrozny
796f63e3bc
Don't print twice in evaluation if output is being already redirected. Fixes #827
2022-02-26 06:40:10 -03:00
Pavel Minaev
4f12b1b47f
Remove Python 2.7 from supported implementations and update versions of test packages.
2022-02-24 12:57:56 -08:00
Fabio Zadrozny
0105bd92ce
Mark warning messages as important. Fixes #170
2022-01-20 15:32:19 -03:00
Fabio Zadrozny
a07f6e8d83
Re-enable gevent test with Python 3.10. Fixes #688
2021-12-11 07:58:15 -03:00