on 03-08-2018 7:06 PM
business one 8.8
I am having an issue where I am stepping through an add-on and it's events in the visual-studio 2012 debugger.
If I take to long to step through my add on fails.
I'm just curious why this happens.
Is it because the events are timed and have to be executed in a set amount of time?
Hi Derek,
Is it because the events are timed and have to be executed in a set amount of time?
Not exactly a timer, but you can say that it is.
If you want, you can spawn another thread that execute only this line every couple of minutes:
SBO_Application.RemoveWindowsMessage(BoWindowsMessageType.bo_WM_TIMER, true);
Note: This is available since 882 can't remember exactly.
But, I would not do this just for debugging purpose.
The actual purpose of the code was too solve the problem of addon crashing when processing a large amount of data and take considerate amount of time. (Yes, this would cause the addon to crash also, not only when debugging).
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.