This is a general Python question, although I'm trying to debug the
wxPython GUI. What's a good on-line resource to ask for help using pdb? How's
the Usenet group?
One of my data entry methods is not working as intended and I want to watch
the code perform. I imported pdb into the main module, then tried to run the
application from the command line as, 'python -m pdb eikos.py'. When the pdb
prompt appeared I entered a breakpoint in a different module, thusly:
(Pdb) b ScopingPage:123
which sets a breakpoint at line 123 of the ScopingPage.py module. Then I told
the application to run ('r'), expecting to see the UI displayed and the
application to run normally until the breakpoint was reached. No such luck.
The application continues running at the command line, no GUI appears, and I
soon get stuck at a place where 'n' (for next) produces nothing.
I'd like to learn better how to use pdb with a multi-module Python
application where the error is in a UI method.
Thanks,
Rich
···
--
Richard B. Shepard, Ph.D. | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic"
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863