Debug Property

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Debug Property

Post by FredS » Tue 27 Sep 2016 19:22

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Debug Property

Post by ViktorV » Tue 01 Nov 2016 12:43

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?

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: Debug Property

Post by FredS » Tue 01 Nov 2016 19:34

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Debug Property

Post by ViktorV » Wed 02 Nov 2016 15:05

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.

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: Debug Property

Post by FredS » Wed 02 Nov 2016 17:49

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Debug Property

Post by ViktorV » Thu 03 Nov 2016 14:59

Thank you for the information. We will make changes in the UniDAC help.

Post Reply