cancel
Showing results for 
Search instead for 
Did you mean: 

no errors messages in visual studio.net

Former Member
0 Kudos

Hi everybody,

When i make a addon in the SAP Business One SDK using Visual Studio 2005 / 2008, i dont get any errors. For example if i make a statement that should throw an error, nothing happens. Sometimes the program just quits, or it doesnt respond anymore. If i try in Visual Basic 6, i do get error messages. Its really difficult to debug

if i dont get the proper error messages.

Is there any setting i am not aware of?

Thanks,

Michel

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Michel,

I think u must try with BreakPoint,

on the just left to where u write code in VS 2005

if u single click, one red boll will come, put it in the first line of ur program, press F11 then it will execute line by line,

Then u can get the error because of tat, ur program is not running.

Regards

Vivek

Gianluigi
Product and Topic Expert
Product and Topic Expert
0 Kudos

I am not sure I fully understand your problem but maybe your addon is raising exceptions that are not caught and then the addon terminates. This is a standard .NET behavior. Try to profile the execution of your addon and see what is going on. You may try to use B1 .NET Profiler to see what your addon is doing. It is part of B1 Test Environment and you can download it under the section "Business One SDK Tools" on SDN. It contains setup / documentation / source code.

Enjoy.

Former Member
0 Kudos

Hello Michel,

Why programming in VB6, if you have VS 2005/2008??

Do you use the same references?

Regards,

Teun

Former Member
0 Kudos

Yes i don't want to program in VB6. I make the same reference to the dll, but unfortunately I have this problem. My other collegue also has this problem. So maybe we are missing something?

Former Member
0 Kudos

Maybe you should try the addon wizard. That's the easiest way to create an addon.

Could you be more specific about your problem? Else you could try it in Dutch. But also write an English translation....

Best Regards

Teun