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.4.tar.gz
(17.6 kB
view hashes)
Built Distribution
Close
Hashes for movoid_debug-1.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0c50c34da09a4ac773517fb42ec7cdfea1a5d01e84c7ecaa70860d4029b5650 |
|
MD5 | 50e412ade354d86a805798b170301db2 |
|
BLAKE2b-256 | 3babefa467ffe741419e10b9c16a376929b8289a20972c1dbeb4ab630757c231 |