Debugging with MonoDevelop – conditional breakpoints

Breakpoints are critical for debugging, and represents the starting point at which application execution pauses into a debug state. Often, they'll be just what you need to set a breakpoint and start debugging! However, there are times when breakpoints, in their default configuration, can become annoying. One example is when a breakpoint is set inside a loop. Sometimes, you only want the breakpoint to take effect or pause execution after a loop has exceeded a specified number of iterations, as opposed to taking effect from the beginning and on every iteration afterwards. By default, a breakpoint inside a loop will pause the execution on every iteration, and if the loop is long, such pausing behavior ...

Get Mastering Unity Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.