Fabio Zadrozny
a08da17302
Check if log.log_dir is None before enabling pydevd logging.
2022-09-09 18:34:26 -03:00
Fabio Zadrozny
8157273a28
New launch option: "onTerminate":"KeyboardInterrupt" allows for a soft-kill. Fixes #1022
2022-09-08 16:05:31 -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
Fabio Zadrozny
3272dace18
Provide pydevd.log_to() to change the file to log to. WIP #1030
2022-08-27 07:07:33 -03:00
Fabio Zadrozny
ea423ae598
Make sure that the debugger is cleared after fork in non-python process. Fixes #1005
2022-08-19 09:20:37 -03:00
Pavel Minaev
e31df92e14
Update versioneer to 0.23.
2022-08-18 12:53:01 -07:00
Pavel Minaev
8b5eeee7e0
Fix #1008 : Re-attaching continuously creates 'accept_worker' threads in debugpy
...
Don't recreate the server socket needlessly.
2022-08-15 14:32:56 -07:00
Fabio Zadrozny
71d42ed63f
Support top-level async. Fixes #951
2022-08-12 09:34:42 -03:00
Rich Chiodo
6e247fb17b
Merge pull request #1009 from rchiodo/rchiodo/missed_thread_for_self_trace
...
Missed a thread to allow debugging
2022-08-05 13:36:31 -07:00
Rich Chiodo
cccfb954bd
Missed a thread to allow debugging
2022-08-05 10:58:20 -07:00
Rich Chiodo
6c19aba462
Merge pull request #1007 from rchiodo/rchiodo/allow_adapter_debugging
...
Add DEBUGPY_TRACE_DEBUGPY variable to allow debugpy to debug itself
2022-08-04 16:52:02 -07:00
Rich Chiodo
10d8839a4c
Review feedback
2022-08-04 16:21:39 -07:00
Rich Chiodo
83ff28006d
Add DEBUGPY_TRACE_DEBUGPY variable to allow debugpy to debug itself
2022-08-04 15:34:06 -07: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
Fabio Zadrozny
6b276e339c
Step in/step over support for IPython. Fixes #869
2022-08-03 08:01:43 -03:00
Fabio Zadrozny
a294092d9c
Properly stop at line 1 in frame eval mode. Fixes #995
2022-07-30 07:24:29 -03:00
Fabio Zadrozny
db43846a8d
Properly consider that argv[0] may be None. Fixes #987
2022-07-14 15:44:25 -03:00
Fabio Zadrozny
b31dee3e79
Synchronize some minor changes from pydevd.
2022-07-14 15:44:01 -03:00
Kira Bruneau
d117b091c5
Fix compiling attach library from source
2022-07-14 13:46:21 -03:00
Fabio Zadrozny
b5072f33af
Fix test_bytecode_manipulation in Python 3.10.5. Fixes #973
2022-07-09 07:19:42 -03: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
Fabio Zadrozny
3f325f58dc
Protect against exception in linecache.getline. Fixes #969
2022-07-07 14:08:07 -07:00
Fabio Zadrozny
4f2a4568f0
Support for Python 3.11: cython. WIP #939
2022-07-06 09:17:50 -03:00
Fabio Zadrozny
161aa2683f
Starting to add support for Python 3.11. WIP #939
...
Added support for setting tracing to different threads
along with some general fixes.
Main things missing:
- Compile with cython extensions
- Bytecode manipulation
- Frame eval mode (requires bytecode manipulation)
2022-06-30 10:41:40 -03:00
Pavel Minaev
7676e298b5
Fix #731 : "externalTerminal" does not work on Linux
...
Do not wait for "runInTerminal" response when spawning the launcher.
2022-06-28 19:13:35 -07:00
Pavel Minaev
627bc1d647
Fix #934 : Log output stuck when printing emoji to internalConsole with python
...
Gracefully handle encoding and write errors in the launcher when capturing output.
2022-06-22 10:29:36 -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
Fabio Zadrozny
6d049b73ab
Auto-attach to subprocess with .zip targets. Fixes #945
2022-06-06 14:14:40 -03:00
Pavel Minaev
e94b71925a
Exclude vendored pydevd from PoliCheck.
2022-05-25 14:54:33 -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
Pavel Minaev
eb126910c0
Add type annotations to public API.
2022-05-23 14:01:24 -07:00
Duprat
891bc7f88b
Update handlers.py
...
* Remove named constant
* move test when not "noDebug": false
2022-05-23 12:39:05 -07:00
Duprat
3e90c5a903
Update handlers.py
...
Add "-X=frozen_modules=off" to cpython interpreter when version==3.11
2022-05-23 12:39:05 -07:00
Jan
78b030f509
Fix TypeError in NetCommandFactoryJson.make_get_thread_stack_message() ( #928 )
...
Set startFrame and levels to 0 if None to avoid TypeError
2022-05-19 16:18:26 -03:00
Fabio Zadrozny
0a40cabe6f
Provide option to resolve symlinks when sending paths to the client. Fixes #743
2022-05-02 08:26:45 -03:00
giacomo
57836de416
improve code readability for sonarcloud checks
2022-05-02 00:16:19 -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
giacomo
7597e466c4
more flexible logic that try converting str to number with all classinfo and fall back on error message when not successfull
2022-05-02 00:16:19 -07:00
giacomo
50632736bf
re-format with black
2022-05-02 00:16:19 -07:00
giacomo
eb8095cbe6
add automatic conversion from string to int/float type, during type checks
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
eaadb6c681
Show warnings evaluating in repl. Fixes #774
2022-04-23 07:43:52 -03:00
Fabio Zadrozny
3d7499958c
Make errors with conditional breakpoints clearer. Fixes #893
2022-04-22 07:32:51 -03:00