Hello ,
1) How to change Ctrl-C behaviour? By default, pressing Ctrl-C in the
terminal from which the wxPython app has been started causes the
application to exit to shell. Is there any way to get the app to
generate a KeyboardInterrupt exception instead, like a normal Python
program? I frequently would like to stop my program in the middle of
execution (say to find and debug an infinite loop), but can't do it
because of this behaviour.
Have a look at the wxKeyEvents demo.
2) Is it me or are breakpoints set using 'pdb' simply ignored for
wxPython apps?? For the life of me I can't find a way to debug
wxPython programs, other than using inline "print" statements... what
do I have to do to be able to "break" on a line and step through a
running program??
On which platform? I'm using wxPython and pdb without problems on win2k.
Bye.
···
--
-----------------------------------------------------------
Smile, damn it, smile.
lambda msg: {
"name" : "Miki Tebeka",
"email" : "miki.tebeka@zoran.com",
"url" : "The Department of Computer Science - Home - New,
"quote" : "The only difference between children and adults " \
"is the price of the toys"
}[msg]
----- End forwarded message -----