Page 1 of 1
Debug Property
Posted: Tue 27 Sep 2016 19:22
by FredS
I have to ask, how is this supposed to work?
I checked old posts in the forum and that didn't help me and your help topic doesn't help either.
I checked the Debug property of a TUniTable, UniDacVcl is in the uses clause for that Data Module and I see nothing..
Using Berlin, no updates.
thanks
Fred
Re: Debug Property
Posted: Tue 01 Nov 2016 12:43
by ViktorV
Please check if debug works in the UniDAC demos. You can find the UniDAC Demo projects in the %UniDACDemos%\ directory. %UniDACDemos% is the UniDAC Demo projects installation path on your computer.
Also, please specify, what kind of database do you use and what kind of application do you develop: a console one or not?
Re: Debug Property
Posted: Tue 01 Nov 2016 19:34
by FredS
ViktorV wrote:Please check if debug works in the UniDAC demos. You can find the UniDAC Demo projects in the %UniDACDemos%\ directory. %UniDACDemos% is the UniDAC Demo projects installation path on your computer.
Also, please specify, what kind of database do you use and what kind of application do you develop: a console one or not?
All worked in the Demo, nothing to do with any of the above. I finally took the time to search your code and the only ShowDebugForm is in DASQLMonitor. I have a TUniSQLMonitor in my DataModule but Active=False by default unless I need to use it.
Once I turned that on all worked. I don't see one in your Demo so I assume it works without TUniSQLMonitor but if one exists and is set to inactive then nothing works.
thanks
Fred
Re: Debug Property
Posted: Wed 02 Nov 2016 15:05
by ViktorV
This behavior corresponds to our architecture: if TUniSQLMonitor is used in the project and the TUniSQLMonitor.Active property is set to False, the debug window is not displayed.
Re: Debug Property
Posted: Wed 02 Nov 2016 17:49
by FredS
ViktorV wrote:This behavior corresponds to our architecture: if TUniSQLMonitor is used in the project and the TUniSQLMonitor.Active property is set to False, the debug window is not displayed.
Right, might be a good line to add to the help file..
thanks
Fred
Re: Debug Property
Posted: Thu 03 Nov 2016 14:59
by ViktorV
Thank you for the information. We will make changes in the UniDAC help.