On Jun 30, 2006, at 9:53 AM, Simen Haugen wrote:
Ok, I see that you both use print statements as a debugging tool.
I also do a LOT of debugging from the Command Window (the dShell,
based on PyCrust), which is why I added it to the base menu. In any
Dabo app, I can press Cmd-D/ Ctrl-D and have an interactive session
where I can inspect objects, change their properties, call their
methods, etc. Being able to work with live objects is critical when
dealing with GUI issues. For example, when I refactored out the image
code from all the classes that display images, I would run the class
to bring up the test form for that object, and then address the
control directly to manipulate it and make sure that each change of a
property did what it's supposed to do, such as refresh at the right
time, size the image appropriately, change the text if applicable, etc.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users