How to debug ODAC source with Delphi2005

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
nschmied
Posts: 72
Joined: Mon 09 May 2005 08:03
Location: Suisse

How to debug ODAC source with Delphi2005

Post by nschmied » Fri 16 Sep 2005 07:21

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

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Fri 16 Sep 2005 09:01

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.

nschmied
Posts: 72
Joined: Mon 09 May 2005 08:03
Location: Suisse

Post by nschmied » Fri 16 Sep 2005 14:17

Thank...
I want to testing this.

Post Reply