Categories

Breakpoints
Access (Write) Breakpoint doesn't work 31-Jul-2024
Access Breakpoint doesn't stop the code execution when a specific memory location is being accessed (and its data value has changed). For example, there is a memory corruption of a global variable and you'd like to find a problematic code. An access breakpoint is configured to hit on write...
Infineon Aurix: Breakpoints stopped working after reset 30-Jul-2024
Using Logical Built-In Self Test ( LBIST) can cause unexpected resets of the CPU, which disables debug communication and deletes all breakpoints. Possible solution Enable option Quick LBIST detection in Hardware | CPU options | SoC . Explanation Quick LBIST detection means that debug statu...
Cannot set a hardware breakpoint 25-Jul-2024
Hardware breakpoints are set by configuring certain on-chip logic components. Hardware breakpoints are a limited resource , and their number varies, depending on the architecture and the implementation. By default winIDEA reserves one hardware breakpoint for high-level debugging ( Debug / ...
Infineon AURIX: How to record trace to a breakpoint? 08-Jul-2024
Timestamp messages can fill a lot of (or entire) trace buffer after the CPU reaches a breakpoint but before the debugger detects the CPU has stopped. Possible solution Refer to the Record Trace to a Breakpoint tutorial in winIDEA Help.
Triggering scripts via Execution Breakpoints 20-Feb-2024
Almost every action in winIDEA can be scripted using winIDEA SDK. Combining the scripting feature with the ability to trigger such scripts you get a really powerful combination that can be used for all sorts of things. Solution: 1. Create an initialization script via the Watch Window and s...
How to set a conditional breakpoint? 23-Nov-2023
To stop the microcontroller on the Xth pass through a function, winIDEA offers option conditional breakpoints: each time the breakpoint is passed the expression (if present) will be evaluated and if it evaluates to true, it will count as one more pass. When the breakpoint is passed as many...
Source-level debugging not available 23-Nov-2023
This topic describes what to do if winIDEA Editor window shows inconsistent or no glyph margin (grey strip or column on the left side of the Editor), icons (glyphs, LoC (Line of Code) markers, debug line symbols,...) for debugging of the opened source file thus disabling source-level debug...
No breakpoints left for debug commands 12-Apr-2023
For high level debug commands (Run until, Stepping...) hardware execution breakpoints are used. One hardware breakpoint is optionally reserved for these functions. Possible solution: Enable option Reserve one breakpoint f or high level debugging in dialog Debug / Debug Options / Debugging ...
Verify when using software breakpoints 06-Apr-2023
Implementing a software breakpoint means inserting a special breakpoint instruction to the execution memory. This means that the actual memory, containing the code, will be modified. If the Verify option is enabled, winIDEA compares the actual memory with the Program File. Since the memory...
Breakpoint bisecting with winIDEA 05-Oct-2021
Find a bug in your code using basic debugging principles: Breakpoint bisecting Stepping into and over the code Using microcontroller documentation For a m ore detailed visualization of the whole configuration procedure follow the Breakpoint bisecting Tutorial!