I've noticed that whenever I'm single stepping for loops inside IDA hexrays decompiler it'll jump to the disassenbly view, doesn't matter if I step through with F8 ou F7, what gives and can I prevent it?


IDA’s debugger switches to disassembly when it can’t find a location in the pseudocode which matches the current instruction pointer (IP) value.

Due to the way compilers optimize code, a single source code line can be spread over several assembly instructions, in some cases non-contiguous. You may even have instructions belonging to different lines intermixed in different order. All this complicates the task of mapping IP values to source or pseudo code lines. This may cause the behavior you are seeing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.