Pavel Minaev
158cbf663c
Tweak CodeQL path classifiers.
2022-12-12 15:24:21 -08:00
Pavel Minaev
69eaa61be0
Don't even try to extract pydevd for CodeQL purposes.
2022-12-12 15:24:21 -08:00
Pavel Minaev
bcf5281f29
Exclude pydevd from CodeQL
2022-12-12 15:24:21 -08:00
Fabio Zadrozny
1c79248ca6
When evaluating enable setting to None, deleting variables and using globals(). Fixes #1142 Fixes #1138
2022-12-09 07:51:49 -03:00
Fabio Zadrozny
bf5c644bc3
Don't use pydevd_find_thread_by_id unless really needed. Fixes #1129
2022-12-08 10:58:04 -03:00
Fabio Zadrozny
79b7c5634e
Don't apply pandas customizations when value is requested for clipboard or repl. Fixes #1078
2022-12-02 15:10:38 -03:00
Fabio Zadrozny
9e94581915
Properly check filtering with ipython calls. Fixes #1104
2022-11-28 12:48:39 -08:00
Fabio Zadrozny
86e0a3f47a
Make it possible to set DAP mode through pydevd.configure or command line arguments.
2022-11-25 09:57:24 -03:00
Fabio Zadrozny
bc9c596599
If gevent tries to disable the tracing prevent it. Fixes #1126
2022-11-19 06:47:19 -03:00
Fabio Zadrozny
53cda4e36d
Some of the roots can be None in WASM builds
2022-11-19 06:47:19 -03:00
Fabio Zadrozny
45af79671f
On Python 3.11 _fork_exec now needs to be monkey-patched for subprocesses.
2022-11-19 06:47:19 -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
727d0d0608
Don't show strings inside containers as special variables. Fixes #1111
2022-11-15 18:08:51 -03:00
Fabio Zadrozny
04403ddc1c
Add column information to exception tracebacks. Fixes #1099
2022-11-11 08:14:32 -03:00
Pavel Minaev
6c1c3d6cb1
Update CodeQL actions to use newer versions.
2022-11-08 16:03:53 -08:00
Fabio Zadrozny
a2a3328388
On Python 3.11, show column information on exceptions. Fixes #1099
2022-11-03 14:08:10 -03:00
Fabio Zadrozny
5f75955915
Update binaries to fix PyInt_FromLong not found in Python 3.11. Fixes #1100
2022-10-28 09:14:19 -03:00
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