Fabio Zadrozny
ae189da2a8
Support dealing with paths with inconsistent casing on Mac OS. Fixes #1031
2022-10-28 09:14:05 -03:00
Fabio Zadrozny
ac6465760a
Socket changes for WASM.
2022-10-20 14:41:36 -03:00
Fabio Zadrozny
fc645045f0
Minor sync with pydevd.
2022-10-20 14:41:36 -03:00
Pavel Minaev
e7fb50add3
Do not use SO_REUSEADDR et all when listening on ephemeral ports ( #1064 )
2022-10-20 01:17:02 -07: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
Janky Ferenc Nandor
46efd10d4a
Fix #1081 : no need to call os.setsid() on session leader when attaching
...
If os.setsid() raises exception then the debugger client
won't be able to attach to the remote process
2022-10-11 13:19:28 -07:00
Rich Chiodo
646d921dc1
Fix socket problem when running with Emscripten CPython build ( #1077 )
...
* SO_REUSEADDR is not supported in EMSCRIPTEN
* Review feedback, make handling SO_REUSEADDR behave like other options
* Remove accidental import
* Fix formatting
2022-10-05 13:20:17 -07:00
Pavel Minaev
7c8172e99c
Fix #1018 : setup.py doesn't fail if compiler is missing
...
Do not build pydevd extensions unless building debugpy.
Expose environment variable to control build failure mode if extensions fail to compile.
2022-10-05 12:01:08 -07:00
Rich Chiodo
94ad68968a
Merge pull request #1075 from rchiodo/rchiodo/fix_path_reporting
...
Fix problem when paths from eval
2022-10-04 11:27:36 -07:00
rchiodo
93f969720a
Fix problem when paths from eval are none (can happen in emscripten case)
2022-10-04 10:16:45 -07:00
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