Fabio Zadrozny
fb40a0b002
Fixes in tests, improve message regarding slow repr to note environment variable to customize it.
2022-10-01 06:50:39 -03:00
Fabio Zadrozny
ac6f5ea6c9
Silence warning given on gevent / support django 4.1 in tests.
2022-10-01 06:50:39 -03:00
Fabio Zadrozny
30a96bf6e8
Enable pydevd to be used in DAP mode directly. WIP: #532
2022-09-29 15:15:07 -03:00
Fabio Zadrozny
01b1c7b238
Show all the items in tuples and lists. Fixes #1056
2022-09-26 15:22:17 -03:00
Fabio Zadrozny
9600483a05
Raise to 0.5s default timeout which notifies about slow access.
2022-09-26 15:22:00 -03:00
Fabio Zadrozny
349ff7337b
Show chained exception frames in stack. Fixes #1042
2022-09-26 15:21:40 -03:00
Fabio Zadrozny
c300080c62
Show cause message on chained exception. Fixes #1024
2022-09-26 15:21:40 -03:00
Fabio Zadrozny
761bacebb5
When evaluating to None in repl provide empty string instead of null. Fixes #985
2022-09-26 15:21:22 -03:00
Pavel Minaev
1dc82718d1
Add test for TupleResolver + ctypes array.
2022-09-15 09:38:40 -03:00
Pavel Minaev
8d418fb3df
Fix #1025 : Debugger Does Not Enumerate ctypes Arrays
...
Use tuple resolver for ctypes.Array
2022-09-15 09:38:40 -03:00
lmbelo
1d7443e960
Changed environment configuration name from subprocessEnv to pythonEnv
2022-09-12 10:20:16 -07:00
lmbelo
849e15c6a4
Custom subprocess environment variables for Python embedded
2022-09-12 10:20:16 -07:00
Jamie Magee
c2b3d5efe2
Add $schema to cgmanifest.json
2022-09-12 10:19:01 -07:00
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