Turning on error tracing is a bit involved, since it requires editing the app.config file.
A step before that is to check in the Personalize area if your app's button is highlighted or not. If it's not highlighted it has been disabled (potentially because it "crashed" during use), and if you tap the button, it should get re-enabled.
I have called the registration process following the latest guideline and the application only showed up once. Now when I restart the app, it never calls. How can I turn on error tracing to see why my application is not loading?
This is on a IQ816
Hey,
I'm a developer and would like this granularity. Can you show me what to tweak to turn on debug tracing in the app.config file?
Thanks,
Ben
The app.config file is SmartCenter.exe.config located in %ProgramFiles(x86)%\Hewlett-Packard\TouchSmart\SmartCenter 2.0
You can add an element called "switches" into the "system.diagnostics" element found in the config file.
Then you put in sub-elements on the "switches" element called "add", giving each an attribute called "name" and an attribute called "value".
The main element you need to add to "switches" has the name attribute TraceFileEnabled. If you set its value attribute to 1, you enable logging. If you set its value attribute to 0, you disable logging.
The following additional name attributes can be used to log aspects of operation: ProcessManager, App and CmdLine. The value attribute for each can be 0,1,2,3 or 4. Each attribute turns on tracing for a particular aspect. The value attribute determines how much detail you get. 0 is nothing, 1 is error information, 2 is warning information, 3 is normal information, 4 is verbose information.
The log file will end up in C:\ProgramData\Hewlett-Packard\TouchSmart\SmartCenter 2.0
and have the following filename format:
hp.SmartCenter_[hhmmss]_[User].log
where [hhmmss] is the time SmartCenter was started and
[User] is the name of the user account SmartCenter was run under.
I'm being purposely verbose and somewhat obfuscating, since this is not something normal users should have to understand, but I trust you'll be able to decode this, especially if you're familiar with the .NET TraceSwitch class.
RSS

