# First Aid Plugin for QGIS
<img src="https://raw.githubusercontent.com/wonder-sk/qgis-first-aid-plugin/master/icon.png" align="right">
The plugin adds a debugger for Python code that runs with QGIS - making it super easy to trace any plugin.
It supports all the usual features from other debuggers - set breakpoints, inspect variables, step into/over
code etc.
It also replaces the default Python error handling in QGIS
with a more sophisticated handler that allows more thorough inspection
or the Python error: browse the frames, view variables, see source code
or even execute Python code within the context of the error.
## How to use it?
Simply install the plugin and enable it. The custom error handler is registered automatically.
In order to start the debugger, look for Debug icon in Plugins toolbar - or press F12 (Note: since
version 2.1.4 this is Ctrl+F12 because F12 is used by development tools dock in QGIS >= 3.14). A new window
will pop up where you can open files and set breakpoints. Debugging is active all the time while
the debugger window is open. Once a breakpoint is reached, debugger window will be activated
and ready to step through the code.
## First Aid in Action
Debugger:
<img src="https://raw.githubusercontent.com/wonder-sk/qgis-first-aid-plugin/master/screenshot-debug.png">
Custom Python error handler:
<img src="https://raw.githubusercontent.com/wonder-sk/qgis-first-aid-plugin/master/screenshot.png">
## License
Licensed under the terms of GNU GPL 2.

快撑死的鱼
- 粉丝: 2w+
最新资源
- 【推荐】细数会计必备常用财务软件(1).doc
- 7A-Unit-1-6-复习-7a-un1-3-revision(1).pptx
- 中小企业信息化管理的现状、问题及对策分析(1).docx
- 计算机管理制度(4)(1).doc
- 软件项目风险评估报告(1).doc
- 互联网+时代初中英语创新课堂教学模式与教学方法的实践研究(1).docx
- 机械设计制造及其自动化-外文翻译-外文文献-英文文献-连续挤压机电缆护套铅合金的发展(1).doc
- asp心得体会(心得体会-asp)(1).doc
- 互联网金融企业的发展对传统商业银行的影响(1).docx
- 试论电视台计算机网络维护工作(1).docx
- 促进学生深度学习的高中历史课堂教学方法研究(1).docx
- 智慧校园信息化合同(1).docx
- 本科毕业设计--基于aduc812单片机的温湿度检测仪(1).doc
- 互联网金融对传统金融的挑战探讨(1).docx
- gis水文分析-.docx
- 基于CPCI总线的嵌入式计算机通用接口设计(1).docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


