Wait for Debuggable Attachment and Native COBOL

When you use Wait for debuggable attachment the debugger waits for the program to start in a separate process before attempting to attach to it.
Note:
  • The following applies to native code only.

To enable the option:

  1. In the IDE, click Project > MyProject Properties and click the Debug tab.
  2. Check Wait for debuggable attachment and choose an appropriate option from the corresponding list.
  3. Save your changes.
  4. Click Debug > Start Debugging.

    The IDE now waits for and then attaches to the next program that calls CBL_DEBUGBREAK.

  5. Start a program or a service.

    The debugger will attach to it as soon as it encounters a CBL_DEBUGBREAK call.