Callstack for freeze
Frage / Problem
My program freezes or shows very long delays when trying to display network paths in a ShellBrowser control or doing some other operation. What can I do?
Antwort / Lösung
Please contact the support at shellbrowser@jam-software.com.
It would be most helpful if you could provide a callstack so that we know which function is causing the delay.
From within the RAD Studio debugger, please take the following actions:
When the application freezes, click Run > Program Pause in RAD Studio and take a screenshot of the call stack of the main thread (RAD Studio > View > Debug Window > Call Stack).
If the call stack window is empty, please ensure that these options are set at "Project > Options > Delphi Compiler > Compiling":
Code Generation > Stack Frames: True
Debugging > Debug information: True
Debugging > Use debug DCUs: True
In case the call stack window is still empty, please do the following:
After clicking Program Pause, please open View > Debug Windows > Threads, double click each thread, which hopefully shows the call stack of each thread in the Call Stack window. Please search the main thread that way, which contains Application.Run in the call stack, and send us a screenshot of this threads call stack.
You can also use a tool like MadExcept and use the "MadTraceProcess32" or "MadTraceProcess64" tool to inspect the state and receive call stacks of the running threads.