Re: GUI app freezing completely



Karsten Wutzke wrote:
Hello all!

I have an application running where the user can set some look and
feels. On a few, when doing a click on a certain menu item the whole
app freezes completely.

The command behind that menu is executed fully (I debugged it), but
after it returns back into the calling code from the event dispatcher,
the window *freezes completely*. It must have something to do with the
look and feels, some simpler ones don't show the described behavior.

When issuing that command, I can only hear my hard disk doing
something shortly, then everything is frozen. I can't even close the
frame anymore. Repainting is gone.

Does anyone know how to debug something like that?

There are too many reasons for the application to hang to list them.

You can try using debugger or SIGQUIT to get thread dumps to get some
idea on what's hung and where it's spending time.

You can try to isolate the problem by removing more and more code. It
may make it simpler to find the cause of the problem.

Best regards,
Leonard Milcin

--
Simplicity is the ultimate sophistication.
-- Leonardo da Vinci
.



Relevant Pages

  • gnome-settings-daemon crashed twice
    ... To debug your program, run it with the --sync command line ... backtrace from your debugger if you break on the gdk_x_errorfunction.) ...
    (GNOME)
  • Debugging
    ... On my WinXP Professional box at home, I can't get the debugger to start from ... I get the same error using NetBeans 3.5.1, ... The command the IDE is trying to execute - shown in the output window - is ...
    (comp.lang.java.softwaretools)
  • IRQL not less or equal (bugcheck 0x0A)
    ... If a kernel debugger is available get the stack backtrace. ... *** In order for this command to work properly, ... *** must point to .pdb files that have full type information. ...
    (microsoft.public.development.device.drivers)
  • Ntfs crash
    ... Debugger entered on first try; ... Use!analyze -v to get detailed debugging information. ... *** In order for this command to work properly, ... *** must point to .pdb files that have full type information. ...
    (microsoft.public.development.device.drivers)
  • Re: OleDbDataAdapter created in code behaves differently from one created by wizard.
    ... jump right in with the debugger and identify the problem point quickly. ... command as you like, setting the connection, commandText properties etc. ... daA object is set to Null, so when you try and access the CommandText ... I know the adapter created in code is OK because I use it to ...
    (microsoft.public.dotnet.framework.aspnet)