Find and debug errors in C, C++, and Fortran code early in your process.
Use Your Existing Process
Intel® Inspector doesn’t require any special recompiles for analysis. Use your normal debug or production build to catch and debug the errors. Check all code—including third-party libraries with unavailable sources—using the interface or command line (which allows for automated regression testing).
Faster Diagnosis with Debugger Breakpoints
Debugger breakpoints simplify diagnosing difficult errors by breaking into the debugger just before the error occurs. When debugging outside of Intel Inspector, a breakpoint stops execution at the right location. However, that location might be executed thousands of times before the error occurs. By combining debug with analysis, Intel Inspector determines when a problem occurs and breaks into the debugger at the right time and location.
Manage Analysis Overhead
In most cases, using Intel Inspector to find and debug memory and threading errors is quicker than manual debugging. However, your application typically runs slower while this tool analyzes it.
To address this, you have several options for managing overhead. First, choose a lighter analysis for your daily builds and then a more complete analysis as you start to freeze code.
Another option is to speed up analysis by limiting its scope. You can enable analysis only during the execution of the suspected problem and skip analyzing irrelevant sections of code. Used carefully, this can be beneficial in situations where long run times are required to reach the error.
You can also speed up analysis using an API to mark memory you don’t want to be analyzed (for example, it contains a synchronization data structure).
Note You can work on something else while Intel Inspector is analyzing your application.
Locate Nondeterministic Threading Errors
Threading errors are usually nondeterministic and difficult to reproduce. Intel Inspector helps detect and locate threading errors, such as data race conditions (heap and stack races), deadlocks, lock hierarchy violations, and cross-thread stack access errors.
It can be difficult to diagnose race conditions because they don't occur on every run. Correct execution depends upon executing the instructions in the correct order. But without a lock on the shared variable, there is no guarantee the threads are running in the proper sequence. This tool is capable of detecting deadlocks and data races and breaking into a debugger, even if it does not encounter the error.
Incrementally Diagnose Memory Growth
This tool graphically shows memory growth as the application is running. It then lets you locate the call stack and code that's responsible for the memory growth.
Analyze Heap Growth
This analysis enables a faster diagnosis of the increase in memory use. Get an incremental heap growth report of allocations that are not matched with deallocations, and an incremental report of leaks since the last baseline.
Intel® Optane™ DC persistent memory is a new memory technology with high-capacity persistent memory for the data center. It maintains data even when the power is shut off, but this data must first be properly flushed out of volatile cache memory. The Persistence Inspector tool (a part of Intel Inspector) helps find possible persistent memory errors so that the system operates correctly when the power is restored.
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804