TI debugger: possible to set breakpoint at "wrong" location on multi-line statement. Debugger then doesn't stop
Version Information (please complete the following information):
- Arc Version: 4.0
Describe the bug
For a breakpint to work the breakpoint must be set on the line containing the semi-colon end of line character. However Arc allows a breakpoint to be set at the start (or middle) of multi-line functions which are spanned by CRLF. This results in a non-functional breakpoint being saved which the debugger won't actually stop at.
Expected behavior
If the user tries to set a breakpoint on a line which doesn't contain a semi-colon as the last character then the breakpoint should be automatically repositioned to the next line with semicolon.
Screenshots
Arc allows breakpoint to be created on 130.
However, this breakpoint won't do anything. The breakpoint should be automatically repositioned to 134 since this is what the debugger needs to be able to work.