How to debug ?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MarioIvan
Posts: 8
Joined: Tue 23 May 2006 12:19

How to debug ?

Post by MarioIvan » Tue 23 May 2006 12:22

How to debug with version 5 of ODAC ? I have Delphi 5

On the query, I set the property debug=true and put odacvcl unit on uses of the form but nothing is showed when the queries are opened

Can you Help-me.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Wed 24 May 2006 09:45

Please check if debug works in the ODAC demos. ODAC demos can be found in %Odac dir%\Demos, where %Odac dir% is path to installed ODAC on your computer. (By default ODAC is installed to C:\Program Files\Borland\Delphi5\Odac.)

MarioIvan
Posts: 8
Joined: Tue 23 May 2006 12:19

Post by MarioIvan » Wed 24 May 2006 23:57

Yes.. the demos projects works fine with debug option, but not in my application. I already uninstall and install ODAC twice.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 25 May 2006 08:22

Please check that you have set Debug property for every query you want to debug. Debug property of
TOraSession affects only SQL statements that are executed using ExecSQL, ExecSQLEx ... methods of
TOraSession. Yon can also drop OraSQLMonitor on your form and trace SQL statements using standard
SQL Monitor or Core Lab DBMonitor.

Post Reply