No project description provided
Project description
这个是一系列函数、类的装饰器,在运行时,如果报错,那么将会进入调试状态 默认情况下:
- 1:将所有Exception raise 出去,不做任何处理
- 2:将Exception保存下来,可以在任意的地方调用某个方法抛出
debug状态下:
- 0:直接进入debug模式,弹出窗口,并进行操作
- 1:将所有Exception raise 出去,不做任何处理
- 2:将Exception保存下来,可以在任意的地方调用某个方法抛出
启动方法
命令行
在命令行运行python脚本时,可以在命令行中额外输入__debug=1
或__debug=debug
来启动debug状态,其他指令均为默认情况
代码
在代码中可以通过以下方式来直接开启debug模式
from movoid_debug import FLOW
FLOW.debug_type=1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
movoid_debug-1.4.3.tar.gz
(17.4 kB
view hashes)
Built Distribution
Close
Hashes for movoid_debug-1.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8435ffc7d2ff9d1000a2348a61db68fe4c08af407af07a2bb75d3e6ac92456f6 |
|
MD5 | 366702fdf5f701e6e1294180c9cfe4b9 |
|
BLAKE2b-256 | 7a5688e6578d7accc1ce2dd289176d4b9fced101a3b2ec648ddae25f5c03b52e |