When you debug you use F5 key to move to the next statement (or go inside a sub-routine). But imagine an IF with multiple conditions:
IF A = 1 AND B = 2 AND C = 3. WRITE 'I like the word glauc'. ENDIF.
When you debug through that IF using F5 and one of the expressions is false you’ll step out of the IF without knowing which of the three was false.
But the new debugger has a new very neat functionality which can help you to better understand what happened there.
It’s called “step size” and allows you to change the way the debug moves forward. You can switch between moving one statement at a time as you’ve always done or moving horizontally one expression at a time. This allows you to easily find out which of the three expressions failed.
Thank you Sérgio Fraga for the tip.
Photo: Denise P.S.
Greetings from Abapinho.