I have a C++ function which has many return statements at various places. How to set a breakpoint at the return statement where the function actually returns ?
And what does “break” command without argument means?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
break without arguments stops execution at the next instruction in the currently selected stack frame. You select strack frames via the
frameorupanddowncommands. If you want to debug the point where you are actually leaving the current function, select the next outer frame and break there.