Debugging applications
In many cases, the most effective debugging method is to start by setting only a few breakpoints at critical sections of your code, and then gradually set breakpoints at shorter intervals to identify the problem. To identify the problem, after the application has paused at a breakpoint, use debugging tools to view various application processes and statistics.
To debug your application during run time, in the main window, on the Debug menu, click Break Now.