Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

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 times as specified in the pass count, the breakpoint will be hit and the CPU will be stopped.

    Open Debug / Breakpoints.



      More details in Tutorial Breakpoints Management.


      CPU actually stops each time a conditional breakpoint is passed in order to evaluate the condition and then resumes the CPU.


      More resources:

      Was this answer helpful?

      Sorry this article didn't answer your question, we'd love to hear how we can improve it.
      Note: This form won't submit a case. We'll just use it to make this article better.

      Similar topics

      {{ topic.Title }} {{ topic.Ddate | formatDate }}

      {{ topic.Content }}

      No similar topics found!

      Other topics in the same category

      {{ topic.Title }} {{ topic.Ddate | formatDate }}

      {{ topic.Content }}

      No topics found!