Problems with OnLogError and Debugging with a few test items
Hello.
I have compiled testing project with debug info and then I have created 3 test items:
1 - Start application
2 - execute routine from sctipt (it thows exception purposely)
3 - Terminate application
Problems:
After finish project with these test items in log I see:
For the 1-st test item there is debug information in log (loading dll-s and etc)
For the 2-nd there are no any debug info, only event messages. Why does it so? Though in this test item exception throws, but due to no debug info test item finished successfully.
Ok, then I decided to start only the script to check the debug info is working:
Before this I set event handle OnLogEvent with this code:
Runner.Stop(true);
After execute I've obtain interesting result:
Debug info is in log - that's OK. But Errors in log:
Is that looks strange, isn't it? :)
In Information field "Error: 1", but no one error in log messages.
When I drop OnLogError handler it works fine.
I will be very grateful for any assistance! Thanks!