In a similar way, how to avoid F8 from going to assembly part of instructions?
You mean when it hits an exception or run error?
Or are there other cases, where this happens?
Also, since you made your question
explicitly about
F8: Are there any cases where it happens with F8, but not with F7 or F9?
Or was the mention of F8 just an accident, and you meant the question for all cases of F7, F8 or F9?
There is no way to avoid the asm...
In some cases when this happens, it happens due to a bug.
1)
Check the stack window => if it does show (iirc limited to the top 30 entries) a
stackframe that has sources => then the asm should not open at all.
Yet I know it does.
It's a bug in that case.2)
If the stack window does not show any entry with sources => then the IDE does have no source line to show.
It has 2 options (that I can think of)
- show the asm
- show a dialog: "The app stopped at an unknown location"
Would such a dialog really be better?
Mind, if you have an other idea what it could do, when it can not find out any source line ... well, please tell your idea.
But doing "nothing" is not an option. There must be some sort of info that the app paused.
Doing "nothing extra" could be an option, if an "app raised exception" dialog already gave the user the info....
In any case, if you are not aware: The IDE has an option to auto-close the asm window. If it pops open in the above case, and you continue with F9 (or anything that gets you back to sources) => the asm will be closed again.