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.