I am not 100% sure but it could be the fact that you have the end statement 'breaked' as well.
E.g. that means the statement you have set 'on break' never gets reached and instead the code directly on the end statement is being 'executed' but, it is a rather 'mute' statement.
Unset the breakpoints, properly format your code and try again. Set breakpoint at begin statement or directly underneath (e.g. the first actual statement).
btw:
exit will exit before the RecvData value is actually set (not that it matters much for your example, just an observation);