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.
- The following applies to native code only.
To enable the option:
- In the IDE, click
MyProject Properties and click the
Wait for debuggable attachment and choose an appropriate option from the corresponding list.
- Save your changes.
Debug > Start Debugging.
The IDE now waits for and then attaches to the next program that calls CBL_DEBUGBREAK.
- Start a program or a service.
The debugger will attach to it as soon as it encounters a CBL_DEBUGBREAK call.