Page 1 of 1

How to debug ?

Posted: Tue 23 May 2006 12:22
by MarioIvan
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.

Posted: Wed 24 May 2006 09:45
by Challenger
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.)

Posted: Wed 24 May 2006 23:57
by MarioIvan
Yes.. the demos projects works fine with debug option, but not in my application. I already uninstall and install ODAC twice.

Posted: Thu 25 May 2006 08:22
by Challenger
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.