Compiler Optimizations and Breakpoints

Compiler optimizations can change how a program is executed. This can affect memory address mapping of breakpoints, a produce multiple address possibilities. When debugging code, it is recommended that you use the lowest level optimizations to avoid breakpoint issues.

Figure 1. Lowest Optimization Level Example