Closed bobbyache closed 7 years ago
So if you put a breakpoint on:
private void errorReport_ExecutionErrorDetected(object sender, CompileErrorEventArgs e) ...
You'll see that the error does actually get thrown, but it seems that nothing is hooking up to it on the front-end! Need to find out why the front end is not handling this!
CompileEngine.cs, Line 125.
Use the test gui to ensure event is being fired. Check it can / is handled at the right time. Why does it get handled in some places but not in others? You should find a way to test...
https://stackoverflow.com/questions/3387134/test-events-with-nunit
https://stackoverflow.com/questions/1429587/verifying-event-registration-using-moq
This script causes a big error in codeCat. See @dataType text... Occurs because the "Title" parameter is a lower case "title" parameter. Need to fail gracefully in this case!
When this error happens, every time you open CodeCat it crashes if this section is auto-loaded. First thought it was an issue with the new Visual Studio 2017 that you upgraded to!