psycik Posted April 20, 2012 Posted April 20, 2012 Does PC monitor create a log anywhere? Specifically something a plugin could write to for debuggin? Or would I have to write my own log? Else is there some other way of debugging a plugin so i can step through my code?
Administrators Paul Posted April 20, 2012 Administrators Posted April 20, 2012 (edited) Hello, All logs are saved ON DEMAND, by manually activating diagnosting logging. You can enable Diagnostic Logging from Settings tab and Diagnostics subtab. Doing so PC Monitor will start writing log details to a file called trace.log that can be found in the PC Monitor installation folder. While writing a plugin you can add base.Trace("Message") or just Trace(string) in your code and it will show up in Diagnostic Logging. The only way of debugging your code is by not writing a Plugin but a Cloud Instance, this way you don't have to use PC Monitor's agent and you can embed all PC Monitor's functionality into a standalone application Here is a really nice tutorial on how to work with Cloud API: http://www.mobilepcm...netcloudapi.php And here is the Plugins tutorial: http://www.pulseway.com/netclientapi.php If you want some examples you can look at the plugins forum: http://forum.mobilep...ows-client-api/ as most of the releases out there are opensource. Good luck, Paul. Edited April 20, 2012 by Paul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now