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

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -