Re: Debugging Function parameters

2014-04-08 Thread David Rhys Jones
Hi, Best guess it's Customer Id. - Turn on the exception for NullReferenceException Debug - Exceptions - Common Language - System Then check, NullReferenceException ArgumentNullException NotImplementedException That will help you correct any problems, however you really need to refactor

Re: Debugging Function parameters

2014-04-08 Thread Sam Lai
I haven't done VB.NET for a long while so this is probably a silly question, but why can't you just step into that function see where it is failing? On 8 April 2014 18:10, anthonyatsmall...@mail.com wrote: I have a function with about 10 arguments, one of the variables is failing, ie Object

RE: Debugging Function parameters

2014-04-08 Thread anthonyatsmallbiz
Exception occurs at the function call, don't get a chance to step through -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Sam Lai Sent: Tuesday, 8 April 2014 8:25 PM To: ozDotNet Subject: Re: Debugging Function parameters I

RE: Debugging Function parameters

2014-04-08 Thread anthonyatsmallbiz
Is this option available in vs2012 From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Rhys Jones Sent: Tuesday, 8 April 2014 6:49 PM To: ozDotNet Subject: Re: Debugging Function parameters Hi, Best guess it's Customer Id. - Turn

Re: Debugging Function parameters

2014-04-08 Thread Mark Hurd
occurs at the function call, don't get a chance to step through -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Sam Lai Sent: Tuesday, 8 April 2014 8:25 PM To: ozDotNet Subject: Re: Debugging Function parameters I haven't