首页 > 编程语言 >Python调试工具

Python调试工具

时间:2022-12-14 18:12:57浏览次数:77  
标签:Python PySnooper Cyberbrain while https 工具 com 调试

 

Cyberbrain: Python debugging, redefined.

https://github.com/laike9m/Cyberbrain

https://github.com/cool-RR/PySnooper

 

https://pythontutor.com/

Pythontutor是一个在线可视化代码执行过程的的网站,支持的语言有 Python, JavaScript, C, C++, and Java等。

Python Tutor is for education purposes, you can't use it to debug your own programs. It's a brilliant tool for its purpose and I do it like it very much.

 

 

How does it compare to other tools?

PySnooper and Cyberbrain share the same goal of reducing programmers' work while debugging, with a fundamental difference: Cyberbrain traces and shows the sources of each variable change, while PySnooper only logs them. The differences should be pretty obvious after you tried both.     Debug visualizer and Cyberbrain have different goals. Debug visualizer visualizes data structures, while Cyberbrain visualizes program execution (but also lets you inspect values).     Python Tutor is for education purposes, you can't use it to debug your own programs. It's a brilliant tool for its purpose and I do it like it very much.     Cyberbrain is *NOT* static analyis. It's runtime tracing. Static analysis can't provide enough information for debugging.  

标签:Python,PySnooper,Cyberbrain,while,https,工具,com,调试
From: https://www.cnblogs.com/sinferwu/p/16982877.html

相关文章

  • python3 安装 impyla
    pip3installsixbit_arraybitarraypip3installthriftpy==0.3.8pure-saslpip3installthrift-sasl==0.2.1--no-depspip3installimpyla==0.14.1如果出现异常pip3in......
  • Python3.9+Sqlite3
    python&sqlite简介Sqlite3作为Python内置的数据库,不需要再单独下载sqlite,直接import即可。使用python操作sqlite创建并连接数据库也可以把数据库名称指定为:memory:,这样......
  • Python 实验报告(第6章)
    实例一:输出每日一贴(共享版) 代码如下:deffunction_tips():'''功能:每天输出一条励志文字'''importdatetime#导入日期时间类#......
  • Python数据压缩和存档——zlib/gzip/bzip2/lzma/zip/tar
    Python数据压缩和存档——zlib/gzip/bzip2/lzma/zip/tar​前言python中提供了几种重要的数据压缩算法的支持,包括zlib、gzip、bzip2和lzma数据压缩算法,同时支持创建ZIP......
  • Python 闭包
    闭包概念闭包,又称闭包函数或者闭合函数,其实和前面讲的嵌套函数类似,不同之处在于,闭包中外部函数返回的不是一个具体的值,而是一个函数。一般情况下,返回的函数会赋值给一个变......
  • python json使用
    本质:字典和json字符串相互转换json.dumps将一个Python数据结构转换为JSONimportjsondata={'name':'myname','age':100,}json_str=json.dumps(d......
  • 开源项目—在线简历编辑工具
    相信大家在求职的过程中,都会面临到一个问题,那就是如何制作一份看起来精美,能让hr和面试官眼前一亮的的简历。对于像我这种不怎么懂设计,word使用又不熟练的人来说,确实是个令人......
  • Chrome开发者工具抓取重定向页面之前的数据包
    如果一个POST请求处理完成会重定向到另外一个页面,相当于进行了刷新页面操作,原来的POST请求请求信息在​​Network​​这个Tab就看不到了,显示的都是重定向页面的相关HTTP请求......
  • python学习笔记整理02(判断、循环)
    程序开发中有三大流程:顺序、分支、循环 一、顺序:代码从上到下,依次执行 二、分支:判断语句,代码有选择的执行if判断条件1:书写条件1成立(真),执行的代码#判断条......
  • Python用telnet设置,抓UDP抓采样点并显示
    ====main.bat====echooffrem"d:\Program\WiresharkPortable64\App\Wireshark\tshark.exe"--list-interfacesrem"d:\Program\WiresharkPortable64\App\Wireshark\tsha......