Step each asm instruction instead of step C statement?

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Step each asm instruction instead of step C statement?

      In gdb it is possible to step individual asm instructions with "stepi".

      But in Ozone debugger I only see 1 "step into" button and it steps an entire C statement instead of individual ASM.

      Is there a way to step individual ASM in Ozone?
    • There should be expand/ collapse bracket inside the editor (yes, right inside the editor window) next to each C statement, which allows you to open it and see the matching ASM statements.
      (Pretty cool, if you ask me - interleaved assembly kinda, but you can hide it).

      Once you open it / expand it, your next step becomes ASM step, until you close it again - and then you back to C stepping.
    • Hello,

      Thank you for your inquiry.
      Per default Ozone will always have the Source Editor Context active for Steps as default.
      To do disassembly steps you can either use the inline disassembly as suggested above or simply highlight the Disassembly window context by left clicking into it.
      Every Step Over and Step Into will now be a single instruction in disassembly.

      Best regards,
      Nino
      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.