Breaking at Re-entrant Calls

A re-entrant call occurs when more than one thread accesses an expression at the same time. You can have the Intel® Debugger break the code execution at these re-entrant calls.

To break execution on a re-entrant call:

  1. Select Parallel > Break on Re-entrant Call.... The Re-entrant Call Detection dialog box opens.
  2. Check Enable Detection at Address.
  3. Enter an address, a function name, or an expression for which you want to detect the re-entrant call.
  4. Click OK.
  5. Select Run > Run or Rerun.
  6. Alternatively, enter the following command:
    1. (idb) idb reentrancy specifier
      This command enables re-entrancy detection on a line number, function or address. When reentrancy detection is enabled, the debugger breaks code execution at these re-entrant calls.

The application executes and stops when more than one thread accesses the specified expression or address at a time.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.