Not possible to set a debugger breakpoint in the IDE on a single statement within a case statement

This is one of the problems I encountered during the development of a Web application. It is not blocking, but making it work would make the software more predictable.

When defining a debugger breakpoint in the IDE, the compiler inserts some (Javascript) code to make the program stop at the place. This works, except if the breakpoint is on a single statement within a case statement. In the case, the compiler gives an error, as shown in the picture below.

CompileError

Attached a small program to demonstrate:
Project1.zip (6.4 KB)

Kind regards,

Michel Huybrechts
Micriconsult BV

Thanks for reporting. We'll investigate if we can find a way to solve this.