Sunday, 10 February 2008

using net compact framework remote



Monitor to Configure Diagnostic Options

Using the .NET Compact Framework Remote Performance Monitor to Configure

Diagnostic Options

Diagnostic, performance and debugging tools are very cool. The more

tools available, the easier it tends to be to find and fix application

issues. With Visual Studio 2005, several handy tools were added. I

use the Remote Registry Editor and Remote File Viewer just about every

day. Version 2 of the .NET Compact Framework added diagnostic logs

(enabled via the device registry) to help identify application

problems in places where it was very difficult, or not possible to

find them with other tools.

One difficulty with using the diagnostic logs is setting the registry

options. Modifying the registry can be intimidating and, if done

incorrectly, a risky proposition. Readers familiar with my writings

on using the diagnostic logs will recall that every time I mention the

Remote Registry Editor, I include a warning to use the tool with great

care.

A few months ago, Steven posted a tour of the .NET Compact Framework

Remote Performance Monitor. He talked about installation, getting

connected, publishing the statistics to the Windows Performance

Monitor and touched upon what I am going to talk about today.

Did you know that you can use the .NET Compact Framework Remote

Performance Monitor to configure diagnostic options on a device?

The other day, I was writing about using the MDbg command line

debugger to attach to a .NET Compact Framework application and I

needed to enable attach to process support. On my way to the Start

menu to run the Remote Registry Editor, I noticed that I had the .NET

Compact Framework Remote Performance Monitor running and remembered

that it could configure the device registry for me. Having had the

experience ofincorrectly modifying this very registry flag while

presenting at MEDC, I decided to save myself the embarrassment of

making the same mistake again.

On the Device menu of the .NET Compact Framework Remote Performance

Monitor, select Logging Options.

[464x358.aspx]

The first step that is required is to connect to your device. The

steps to connect here are the same as those Steven describes to

connect to the performance statistics. Once connected, you can

configure your desired diagnostic settings.

Once connected, you can

* Enable the Loader, Native Interop and Network logs

* Configure log file naming options

* Enable performance statistics (.stat) file creation

* Enable attach to process support in the debugger

Read More Enjoy!

Please share this article, Subscribe this site using RSS feed and

EMail

____________________ Subscribe

Microsoft .NET Support Home Page

See Related Articles

Recent Articles

* Design patterns, Antipatterns and Refactoring

* Microsoft .NET Framework 3.5 Deployment in brief

* Refactor .NET code using Visual Studio and Refactor! Pro

* Microsoft Webcasts SQL Server 2008 Visual Studio 2008

* KineticJump Applife for .NET Application Smart Deployment

Enter your search terms _______________________________ Submit search

form Google Search

(_) Web (_) msdotnetsupport.blogspot.com

Microsoft .NET Support Home Page

free counter with statistics

View Site Statistics

Recent Articles

* Design patterns, Antipatterns and Refactoring

* Microsoft .NET Framework 3.5 Deployment in brief

* Refactor .NET code using Visual Studio and Refactor! Pro

* Microsoft Webcasts SQL Server 2008 Visual Studio 2008

* KineticJump Applife for .NET Application Smart Deployment

.NET Categories

* .NET (3)

* .NET Articles (5)

* .NET Assembly (14)

* .NET Code Samples (13)

* .NET Controls (22)

* .NET Debugging (9)

* .NET Framework 3.0 (2)

* .NET Framework 3.5 (5)

* .NET Grasshopper (5)

* .NET Interview (2)

* .NET Interview questions (5)

* .NET MVC (2)

* .NET Nuke (2)

* .NET Pointers (4)

* .NET Questions (1)

* .NET Resources (1)

* .NET Security (8)

* .NET Tips and Tricks (22)

* .NET Tools (9)

* .NET Tutorials (44)

* .NET Video Tutorials (2)

* .NET vs Java (6)

* Active Directory (1)

* Agile (1)

* Ajax (8)

* BizTalk (4)

* Books (21)

* Boxing and Unboxing (1)

* Code Formatter (1)

* Collections (1)

* Connection Strings (2)

* Cruise Control (3)

* Crystal Reports (14)

* Database (6)

* DataGrid (9)

* Datatable (1)

* Delegates (9)

* Design Patterns (1)

* Directives (11)

* Dotfuscator (1)

* Downloads (163)

* Email Sending In .NET (5)

* Expression Blend (1)

* Facebook (1)

* IIS (6)

* InfoPath (4)

* Installation (2)

* Interview (1)

* Interview Questions (2)

* Introduction (10)

* JavaScript (12)

* LinqToSQL (1)

* Mail (9)

* Microsoft .NET Jobs (8)

* Microsoft Atlas (16)

* Microsoft News (4)

* My Cute .NET Boy (1)

* NANT (3)

* NHibernate (2)

* Office (1)

* Oracle (1)

* Profiling (11)

* Registry (1)

* Regular Expressions (1)

* RSS (8)

* Sharepoint (9)

* SMTP (9)

* SQL Server (2)

* Unit Testing in Microsoft .NET (5)

* Video Tutorials (1)

* Visual Studio (4)

* VSS (1)

* Webcasts (1)

* WebResource.axd (2)

* XML (9)


No comments: