Skip to Content

stepping through business one causes add on to fail

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 09 at 12:15 AM

    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

    Add comment
    10|10000 characters needed characters exceeded