Page 1 of 1

How to debug ODAC source with Delphi2005

Posted: Fri 16 Sep 2005 07:21
by nschmied
Hello,

I have a error in TMemData.AddCacheItem with an update on TSmartQuery.
Object reference not set to an instance of an object
.

I want to debug source file MemDS bug the breakpoint doesn't work.

How make for debuging source file ?

Thanks you

Posted: Fri 16 Sep 2005 09:01
by Alex
You need to remove CoreLab assemblies from your project Reference section. This made Delphi to compile ODACs units within your project with debug information. Also check that your Tools/Options/Debugger Options/Borland Debugger/Language Exceptions - "Exception types to ignore" 'CLR Exceptions' Checkbox is unchecked in order to intercept NRE.

Posted: Fri 16 Sep 2005 14:17
by nschmied
Thank...
I want to testing this.