Changelogs » Ptvsd

Ptvsd

5.0.0a4

Bug fix release

5.0.0a3

Bug fix release

5.0.0a2


      

5.0.0a1

Enhancements:
* Out-of-proc debug adapter.

4.3.2

Bug Fix:
* Fixes crash when using python 3.7.4. 1688

4.3.1

Bug fixes:
* Fix an issue with Jump to cursor command. 1667
* Fix "Unable to find threadStateIndex for the current thread" message in terminal. 1587

4.3.0

Enhancements:
* Support for Jupyter debugging
* Support for ipython cells
* API to enable and disable tracing via `ptvsd.tracing`
* `ptvsd.enable_attach` accepts address=('localhost', 0) and returns server port

Bug fixes:
* Fix patching arguments while debugging sub-porcesses. 1548
* Fix occasional `NoneType` error in pydevd. 1581
* Fix missing `source` information in `setbreakpoints`  response. 1600
* Stepping in multi-threaded case should continue other threads. 1372 .
* Debugger will show a warning if breakpoint is set in filtered out code. 1298
* Support attach to pid with Python 3.7. 846
* Fix an issue with attach to process via pid on Linux. 863

4.3.0b2

Bug fixes:
* Fix patching arguments while debugging sub-porcesses. 1548
* Fix occasional `NoneType` error in pydevd. 1581
* Fix missing `source` information in `setbreakpoints`  response. 1600

4.3.0b1

Enhancements:
* Support for Jupyter debugging
* Support for ipython cells
* API to enable and disable tracing via `ptvsd.tracing`
* `ptvsd.enable_attach` accepts address=('localhost', 0) and returns server port

Bug Fixes:
* Support attach to pid with Python 3.7. 846
* Fix an issue with attach to process via pid on Linux. 863

Thanks:
* samb for updating the docs.

4.2.11b1

Bug Fixes:
* Stepping in multi-threaded case should continue other threads. 1372 .
* Debugger will show a warning if breakpoint is set in filtered out code. 1298

4.2.10

Enhancements:
* Support for Visual Studio F11/F5. 1387

Bug Fixes:
* No longer switch off getpass on import. 988
* Fixes a crash on evaluate request. 1401
* Fix a issue with running no-debug. 1408
* Fixes a hang in Visual Studio. 1413
* Fixes issue with forwarding sys.stdin.read(). 1423
* Remove sys.prefix form library roots. 1422

4.2.10b1


      

4.2.9

Bug Fixes:
* Fix warning shown in python 3.8. 1374
* Fix hang when editing dictionary values in VS. 1385

4.2.9b

Bug Fixes:
* Fix warning shown in python 3.8. 1374
* Fix hang when editing dictionary values in VS. 1385

4.2.8

Bug fixes:
* Path mapping bug fixes. 1311, 1325
* Fix for hang when using debug console. 1326
* Fix for set next statement. 1358
* Fix for multi-threading. 1361

4.2.8b1

Bug fixes:
* Path mapping bug fixes. 1311, 1325
* Fix for hang when using debug console. 1326
* Fix for set next statement. 1358
* Fix for multi-threading. 1361

4.2.7

Enhancements:
* Add setting to limit number of lines in stack for exception details. 582

Bug Fixes:
* Various fixes for django templates. 1276, 1289, 1294
* Fix for module name conflict while debugging with -m. 1307

Community contributed bug fixes:
* Don't fail in DictResolver when there are more items than MAX_ITEMS_TO_HANDLE. 1301 by baek9
* Fix single quote issue during process attach. by martinRenou

4.2.6

Bug fixes:
* Fix issue with expanding variables in watch window and hover. 1277, 1273
* Fix issue with launching a sub-module. 1272

4.2.5

Enhancements:
* Set Next Statement. 18
* Provide option to enable logging. 890

Bug Fixes:
* Subprocess arguments incorrectly escaped. 1227
* Fix issues with django and jinja2 exceptions. 694, 1181
* Detaching sometimes throws ValueError. 1165
* StackTrace request respecting just-my-code. 1187
* Don't give error redirecting output with pythonw. 1023
* Fix for stop on entry issue. 1159

4.2.5b2


      

4.2.5b1


      

4.2.4

Enhancements:
* Validate breakpoint targets. 206
* Exclude files from being debugged. 997
* Provide a public API to register threads not created by Python for debugging. 1009

Bug Fixes:
* BreakOnSystemExitZero debug option is not respected. 841
* Increase max IO message size. 975
* Breakpoint are not hit when debugger is attached to remote target. 1093
* Fix issue with subprocess when `--multiprocess` flag is used. 1152

4.2.3


      

4.2.2

Bug Fixes:
* TypeError: on_breakpoints_changed() got an unexpected keyword argument 'remove' 1118
* KeyError when running self.mpl_modules_for_patching.pop(module) 1041

Note: See release notes for [v4.2.1](https://github.com/Microsoft/ptvsd/releases/tag/v4.2.1) for additional enhancements and bug fixes in **v4.2.2**.

4.2.1

Enhancements:
* Map '.' in remoteRoot to current working dir. 1110

Bug Fixes:
* Subprocesses are not killed when stopping the debugger. 503
* Stacktrace contains xml escaped characters. 948, 981
* Fix issue launching module with -m. 991
* Empty stack traces. 1006
* 'NoneType' object is not callable 987
* Debug console autocompletion not working 1000
* Unable to open '<frozen importlib._bootstrap_external>': File not found 1077
* AttributeError: module 'builtins' has no attribute 'interpreter' when you do anything in the debug console 1072
* Setting breakpoint fails on Python files containing non-ASCII characters 1037
* Watch window freezes the system when Name contains non-ASCII symbols 874
* Fix `setup.py bdist_wheel` to produce proper wheels that don't need further manual tweaks 931
* Build script and instructiond for for manylinux1 1102

Note: We did not release wheels for v4.2.1 due to this bug: 1118

4.2.0

Enhancements:
* Support multi-process debugging for spawned processes.
* Add support for monkey-patching pyside2.

Bug Fixes:
* Properly deal with handled or unhandled exception in top level frames. 580, 581
* Use unhandled exception line when creating stack. 814
* Use SO_EXCLUSIVEADDRUSE on windows while creating socket. 820
* Check if exit code is none before converting to int. 840
* Add messages to error responses. 826
* Make sure that any folder ending with site-packages is considered a library. 854
* Allow configuring whether the debugger should stop/print errors when there's an exception evaluating a breakpoint condition. 853
* Treat any code not in site-library as user code. 802
* Fix to preserve frame and variable ids while stepping. 870 , 907
* Handle case where no completions are provided by the debugger. 978
* Set SIO_LOOPBACK_FAST_PATH while creating socket in windows. 912, 949

4.1.4

Python debugger used in Visual Studio and [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python).

Bug fixes:
* Changes in CLI arguments between versions 896
* Make --host a required switch 925

4.1.3

Python debugger used in Visual Studio and [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python).

Includes following enhancements:
* Attach to process using process id. 200

Bug fixes:
* Fixed an issue with socket connections on linux. 793
* Files on network drives can now be debugged. 786, 817
* Fixed an issue where tab character was replaced with space in debug console. 829
* Handle connection reset on disconnect 823
* Fixed an issue with debugging scripts with `raw_input` 490
* Fixed incorrect frame issue in VS 752

4.1.2

Python debugger used in Visual Studio and [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python).

Includes following enhancements:
* Debug console completions 454
* Show return values 420
* Server attach mode has new `--wait` command line switch 355

Bug fixes:
* Fixed some non-debug run issues. 796, 745
* Debugger now sets `preserveFocusHint` 777
* Fixed some issues with path mappings 762
* Fixed and issue with `__breakpointhook__` 766
* Switched to using suspend-all, resume-all commands 732

4.1.1

Python debugger used in Visual Studio and Visual Studio Code.