Changelogs » Viztracer

PyUp Safety actively tracks 282,845 Python packages for vulnerabilities and notifies you when to upgrade.

Viztracer

0.11.3

Now ``--log_multiprocess`` supports ``spawn``

0.11.2

Fix ``__name__`` issue with ``-m``

0.11.1

Renamed ``ignore_non_file`` to ``ignore_frozen`` and changed the implementation to reflect that. Now it will only ignore frozen functions, not ``<string>`` ones.

0.11.0

* thread and process name supported
  * subprocess works in more cases now
  * multithread works better now
  * plugin feature is added

0.10.5

* Fixed `run_module` issue to locate the attributes
  * Fixed `log_sparse` when `--log_sparse` is not passed in

0.10.4

* `set_afterfork` is added to customize tracer after `fork()`
  * forked process will clear the buffer and reset current stack depth with `multiprocessing`
  * `--max_stack_depth` works properly with `multiprocessing` now

0.10.3

* Added space after file path print on console to make it clickable
  * Make log_var work with function and for loop
  * Increment timestamp if we had the same timestamp to fix same ts issue

0.10.2

* Do not reference to the whole frame/args, only keep the useful part
  * Escape </script> to keep report from crashing

0.10.1

* Global tracer registry is added
  * --version is supported
  * docs is restructured
  * Some function names are unified

0.10.0

* Tracer save entries are unified.
  * Function name format is changed.

0.9.5

VizTracer can display the source code of the function now

0.9.4

Fix the timestamp bug for sparse log

0.9.3

Add two features:
  
  * log_func_entry
  * log_sparse

0.9.2

Fixed 32

0.9.1

Support following:
  * multiprocessing library
  * os.fork()

0.9.0

* subprocess module is supported with --log_subprocess

0.8.3

* log_exception is added
  * -- is preferred over --run to separate positional arguments

0.8.2

* VizTracer supports log_func_exec now to log function executions
  * Fixed a small bug in vdb

0.8.1


        

0.8.0

VizTracer can log any variable without changing the source code now.

0.7.5

* python 3.9 is officially supported.
  
  * --open is added

0.7.4

* Now include/exclude files only check python functions.
  
  * viztracer command will convert the file to abs path
  
  * add example scripts

0.7.3

Use binary to read the script to avoid encoding conflict.
  
  Also force using utf-8 to read the html file because that's how we check it in.

0.7.2

VizTracer can log garbage collector operation now.
  
  Fixed a potential double decref issue.

0.7.1

VizLogging, VizObject and VizCounter can handle tracer = None now.
  
  Use get_tracer() instead of the global variable __viz_tracer__
  
  added a filter ignore_non_file

0.7.0

* You can automatically log function arguments now
  * You can add --novdb to reduce the instrument cost
  * vdb now checks the version of the json file

0.6.3

tracer can be accessed globally now if viztracer is used. Some bug fixes

0.6.2

Default tracer_entries is reduced so all computers can open the report with no issues.
  
  Counter and Objects can be displayed in vdb now

0.6.1

You can debug between multiple processes/threads now.
  
  add a couple commands and fixed some bugs in source file displaying

0.6.0

Virtual debug feature is introduced but still in alpha. You can debug your json report now.