Difference between revisions of "Debug Mode"

 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Monitor Debugging ==
 
== Monitor Debugging ==
To configure the monitor in debug mode edit Monitor\TCAdminMonitor.exe.config. Change this line:
+
To configure the monitor in debug mode edit C:\Program Files\TCAdmin2\Monitor\TCAdminMonitor.exe.config or /home/tcadmin/Monitor/TCAdminMonitor.exe.config. Change this line:
  <add key="TCAdmin.Debug" value="False" />
+
  <add key="TCAdmin.Debug" value="'''False'''" />
 
To
 
To
 
  <add key="TCAdmin.Debug" value="'''True'''" />
 
  <add key="TCAdmin.Debug" value="'''True'''" />
  
Stop the monitor service and start it in console mode. When a task is executed you should see debug messages.
+
Stop the monitor service and start it in [[Server_Components#Linux_2|console mode]]. When the monitor starts up or a task is executed you should see debug messages.
  
 
== Website Debugging ==
 
== Website Debugging ==
Line 13: Line 13:
 
  <compilation debug="'''true'''" strict="true" explicit="true">
 
  <compilation debug="'''true'''" strict="true" explicit="true">
  
When an error occurs you should see the stack trace so we can help you troubleshoot. Also additional information is shown in the footer.
+
Then restart the monitor. When an error occurs you should see the stack trace so we can help you troubleshoot. Also additional information is shown in the footer.

Latest revision as of 17:20, 8 August 2011

Monitor Debugging

To configure the monitor in debug mode edit C:\Program Files\TCAdmin2\Monitor\TCAdminMonitor.exe.config or /home/tcadmin/Monitor/TCAdminMonitor.exe.config. Change this line:

<add key="TCAdmin.Debug" value="False" />

To

<add key="TCAdmin.Debug" value="True" />

Stop the monitor service and start it in console mode. When the monitor starts up or a task is executed you should see debug messages.

Website Debugging

To configure the website in debug mode edit ControlPanel\Windows.config or ControlPanel\Linux.config depending on your operating system. Change this line:

<compilation debug="false" strict="true" explicit="true">

To:

<compilation debug="true" strict="true" explicit="true">

Then restart the monitor. When an error occurs you should see the stack trace so we can help you troubleshoot. Also additional information is shown in the footer.

Retrieved from "https://help.tcadmin.com/index.php?title=Debug_Mode&oldid=447"