multithreading - Where is my program waiting? -
i have delphi 10 multithreading application blocking calls. when exit not unloaded ram , delphi debugger isn't stopped.
how (tool, method) detect in routine app waiting?
- hit pause button (run, program pause)
- show threads window (view, debug windows, threads or
ctrl+alt+v
) - double-click on each thread in turn , inspect call stack (view, debug windows, call stack or
ctrl+alt+s
) - look routines in call stack , evaluate evidence see before when perusing code @ top of call stack, in source files
sometimes more informative run above steps debug dcus enabled (project, options..., delphi compiler, compiling, use debug .dcus), , runtime packages disabled (project, options..., packages, runtime packages, link runtime packages)
Comments
Post a Comment