OcaIDE icon indicating copy to clipboard operation
OcaIDE copied to clipboard

bug @OcamlDebugger

Open scg03 opened this issue 11 years ago • 0 comments

Thank you for developing this IDE.

The "put breakpoint" does not work on my system and it turns out the problem is at Ocaml/src/ocaml/debugging/OcamlDebugger.java line 1024

Pattern patternBreakpoint = Pattern
        .compile("Breakpoint\\s+(\\d+)\\s+at\\s+(\\d+):\\s+file\\s+(.*?),\\s+line\\s+(\\d+),\\s+characters\\s+(\\d+)-(\\d+)");

It should be

Pattern patternBreakpoint = Pattern
        .compile("Breakpoint\\s+(\\d+)\\s+at\\s+(\\d+)\\s+:\\s+file\\s+(.*?),\\s+line\\s+(\\d+),\\s+characters\\s+(\\d+)-(\\d+)");

There are spaces before and after the ":" on my system.

Thanks.

scg03 avatar Feb 07 '15 22:02 scg03