[PyQt] Really basic debugger question

Tony Arnold tony.arnold at manchester.ac.uk
Wed Apr 12 08:32:21 BST 2017


Phil,

On Wed, 2017-04-12 at 17:21 +1000, Phil wrote:
> I'm having trouble coming to grips with Eric's debugger.
> 
> I have a simple console python3 script that I want to step through
> viewing the variables along the way. I have set a break point.
> 
> Clicking on the debug tool brings up a "Debug Script" dialogue with
> three entry boxes. I understand "Working directory" but what goes
> into "Commandline" and "Enviroment"?

The Commandline box allows you to specify command line options. So if
you have a script 'xyz.py' and you can invoke it from the command line
with 'xyz.py --option1 -s', then you can put the '--option1 -s' in the
Commandline box in the debugger. If your script doesn't do any command
line processing, then leave it blank.

I've never used it, but I think the Environment box allows you to set
environment variables that might be needed by your script.

HTH.

Regards,
Tony.
-- 
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G.110, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4979 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170412/3f0823c0/attachment.bin>


More information about the PyQt mailing list