cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to step through add-ons in Debug Mode

Former Member
0 Kudos

I am having a lot of problems with debugging my add-ons.

The code is executing as expected but when I attempt to step through the code it breaks (without throwing an exception) and the focus switches back to the SAP Business One session that the add-on is running against. After this the add-on no longer responds to the SAP Business One events.

The problem only occurs when the debug session comes accross an SAP Business One object. I.E. I can step through standard c# function methods and objects but as soon as the current line changes to one with an SAP Object (or if I hover the mouse over and SAP Object) the crash occurs.

I am using Visual Studion 2008 and have the latest service packs installed.

Most of the projects I am working with are C# but also some VB

Any help appreciated.

Regards,

Sean

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sean,

This is a known issue with SAP DI objects. When ever the mouse control hovers on top of any DI object the code will freeze and it will crash ultimately. If want to see the values of the objects its better to assign them to variables and check the value in the variables. I avoid this situation by usings variables and checking the values in them(just for the debug process).

And check the following threads u'll know that u'r not alone..

Hope it helps,

Vasu Natari.

Edited by: vasu natari on Jul 21, 2009 6:39 AM

Answers (0)