Skip to Content
0

stepping through business one causes add on to fail

Mar 08 at 07:06 PM

27

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Edy Simon Mar 09 at 12:15 AM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you.

0