Aborted when debugging python plugin with pdb #27201
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Feedback
Waiting on the submitter for answers
Plugins
Author Name: Zhan Li (Zhan Li)
Original Redmine Issue: 19373
Affected QGIS version: 3.2
Redmine category:python_plugins
Hi, I'm not sure if this is the right place to submit this issue for help. But I can't find a solution on google and failed to find a place to submit questions for help. I'm trying to debug a python plugin with pdb, without using IDE following the instruction here: https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/ide_debugging.html#debugging-using-pdb
The plugin "Value Tool" works well but I just tried to add something I need. I haven't changed anything in the .py files of the plugin except adding the following lines inside the script to test debugging a python plugin in QGIS with pdb.
I started QGIS from the command line. The plugin was added and activated successfully. However, when I started using it which was supposed to hit the set_trace and enter pdb, the QGIS crashed with the following messages in the terminal.
The text was updated successfully, but these errors were encountered: