[PyQt] Really basic debugger question

Hans-Peter Jansen hpj at urpla.net
Wed Apr 12 12:08:50 BST 2017


On Mittwoch, 12. April 2017 10:11:18 Tony Arnold wrote:
> Phil,
> 
> On Wed, 2017-04-12 at 17:52 +1000, Phil wrote:
> > 
> > Thank you Tony,
> > I've left both boxes blank but nothing seems to happen other than a
> > quick flash while the script runs. I expected the script to stop at
> > the breakpoint and display the variable's value.
> > 
> > I think I must be missing something that's very basic.
> 
> There is a tick box in that debugger window that tells the debugger
> whether to stop at the start of the script or not. If you want it stop,
> the box has to be clear, i.e., NOT ticked. The debugger should then
> stop at the start of your script and you can single step through it if
> you want.

It's not always obvious, where the execution stopped, but the UI should have 
switched to the debug profile (see Window menu), and the debug toolbar should 
be visible.

Pete


More information about the PyQt mailing list