﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Business Objects and Data Access (How do I?)  / Data Debug Mode / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 16:46:55 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Data Debug Mode</title><link>http://forum.strataframe.net/Topic14979-6-1.aspx</link><description>[quote]Is there any plan to include this functionality in SF?[/quote]&lt;/P&gt;&lt;P&gt;Technically it is already there.  You just need to have the ability (if you would like) to turn it on within your application at run-time. For example, in the SetDataSources methods of the AppMain.vb or program.cs, you would just look to see if that key is set, and if so, turn on the debugging.&lt;/P&gt;&lt;P&gt;[quote]Also does the call to SetDegubOn() should be done per each form, or is this a global setting that can be done once and will affect all forms?&lt;FONT size=1&gt;&lt;BR&gt;&lt;/FONT&gt;[/quote]&lt;/P&gt;&lt;P&gt;No.  This is per data source, the individual BOs, forms, etc. have nothing to do with it.  If you turn on debugging it is for a particular data source.</description><pubDate>Wed, 21 May 2008 17:06:33 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Debug Mode</title><link>http://forum.strataframe.net/Topic14979-6-1.aspx</link><description>[quote][b]Trent L. Taylor (03/19/2008)[/b][hr]Peter,  that is a good idea.  We actually have a registry key that we look for in our application that allows us to turn on debugging on the run-time application.  We also have a registry key that allows the path and file name to be specified.  Since it is generally a developer that prompts this log to be created, this has been pretty effective for us.[/quote]&lt;/P&gt;&lt;P&gt;Hi Trent,&lt;/P&gt;&lt;P&gt;Is there any plan to include this functionality in SF?&lt;/P&gt;&lt;P&gt;Also does the call to SetDegubOn() should be done per each form, or is this a global setting that can be done once and will affect all forms?</description><pubDate>Wed, 21 May 2008 16:05:56 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Data Debug Mode</title><link>http://forum.strataframe.net/Topic14979-6-1.aspx</link><description>Peter,  that is a good idea.  We actually have a registry key that we look for in our application that allows us to turn on debugging on the run-time application.  We also have a registry key that allows the path and file name to be specified.  Since it is generally a developer that prompts this log to be created, this has been pretty effective for us.</description><pubDate>Wed, 19 Mar 2008 09:44:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Debug Mode</title><link>http://forum.strataframe.net/Topic14979-6-1.aspx</link><description>Hi Ertan,&lt;/P&gt;&lt;P&gt;This falls into the 'dirty but effective' category. We have the following code in the InitApplication sub in all our AppMain's.&lt;/P&gt;&lt;P&gt;        If System.IO.File.Exists("C:\WINDOWS\Temp\TMSSQLLog.html") Then&lt;BR&gt;            MicroFour.StrataFrame.Data.DataBasics.DataSources("").SetDebugOn("C:\WINDOWS\Temp\TMSSQLLog" &amp;amp; System.Diagnostics.Process.GetCurrentProcess.Id.ToString &amp;amp; ".html", True)&lt;/P&gt;&lt;P&gt;&lt;BR&gt;With this we get a unique logging file for each Project and we can turn logging on/off as needed by manually creating/deleting the C:\WINDOWS\Temp\TMSSQLLog.html file.&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Wed, 19 Mar 2008 02:00:37 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Data Debug Mode</title><link>http://forum.strataframe.net/Topic14979-6-1.aspx</link><description>I'm not sure where in the documentation it is, but there are several posts on how to set the debug mode on a data source.  &lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost5090.aspx"&gt;http://forum.strataframe.net/FindPost5090.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That one might help.  Like it says, simply call SetDebugOn() on the data source, then check the output HTML file for all of the commands that were executed through it.</description><pubDate>Tue, 18 Mar 2008 08:55:47 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>Data Debug Mode</title><link>http://forum.strataframe.net/Topic14979-6-1.aspx</link><description>In Strataframe documentation, I couldn't find any related information about this topic ?&lt;/P&gt;&lt;P&gt;Could you give us some information ?</description><pubDate>Tue, 18 Mar 2008 02:44:50 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item></channel></rss>