Method header
When using Step Into (F11) to compile a program moving yellow highlighter usually skip method header and compile the code within the body of that particular method header, what is the reason for that.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Aug 31, 2013, 7:45 AM
VulpesPosted Aug 31, 2013, 6:54 AM
However, if that line of code contains a method call, then Step Into executes the call itself and then stops at the first line of code within the method.
The method header is not considered to be executable code as it just contains the method's signature (name, return type, parameter types and names etc.) - it doesn't actually do anything - and so the debugger skips it.