Re: CPU running at 100%, GUI locks up
Tim Roberts <[email protected]> Mon, 8 Mar 2021 14:14:47 -0800
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Organization | Providenza & Boekelheide, Inc. |
| Message-ID | <[email protected]> |
Matthias Brennwald wrote: > > Performance really cannot be the issue, as I have another Python > program which does pretty much the same "work", using command-line > user interface instead of the wxPython GUI. This CLI program consumes > about 3-5% of CPU on the E3930. > > I have never really worked with debuggers. Any hints or suggestions on > how/where to start? Well, you can do "gdb python xxx.py", then type "run" to start it. When it hangs, you press Ctrl-C to break into the debugger. "bt" gets a stack trace of the current thread. You may need a stack trace of all threads, which is likely to be verbose: "thread apply all bt". Email me a copy if you want some interpretation. -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc. -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/02f7b9b2-f354-2450-c2e2-93b2cc1a4146%40probo.com.
smime.p7s
(application/pkcs7-signature, 3.3 KB) - not displayed