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?

  1. hit pause button (run, program pause)
  2. show threads window (view, debug windows, threads or ctrl+alt+v)
  3. double-click on each thread in turn , inspect call stack (view, debug windows, call stack or ctrl+alt+s)
  4. 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

Popular posts from this blog

4x4 Matrix in Python -

python - String indices must be integers and while issue -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -