Naming a Thread While Debugging

From RAD Studio
Jump to: navigation, search

Go Up to Naming a Thread

You can temporarily name a thread in the IDE while you are debugging your application. Doing this enables you to easily identify individual threads in the Thread Status window.

To name a thread while debugging

  1. Open your project in the IDE and set breakpoints in the code.
  2. Run your application by pressing F9 or by choosing Run > Run.
  3. Open the Thread Status window by selecting View > Debug Windows > Threads.
  4. Right-click the thread you want to name and select Name Thread from the context menu.
  5. On the Set Thread Name dialog box, type a thread name and click OK.

See Also