Runtime Monitoring Agent

Often while developing an application, programmer needs an information about a value of specific variable, time needed to execute a piece of code or just plain info that some function/module has been entered/exited.

provided by: 
Originally published at Internet.com


Often while developing an application, programmer needs an information about a value of specific variable, time needed to execute a piece of code or just plain info that some function/module has been entered/exited. Most of these information can be collected using a debugger but, debugger interrupts normal program execution (critical for communication programs) and doesn't give any time related info (for example, how long does it take to execute an SQL statement or what is the time difference between sending a command and receiving a response from a device connected to a serial port). Also, once you build a release version, you lose any debugging capabilities unless they are hard-coded into the program.

Most often, programmers use dump to file as a way to collect info but it has several limitations. You cannot view info while program is running, you lose some or all data if program crashes and it's very difficult to find something in a mass of data collected in this way.

That's were Runtime Monitoring Agent (plain Agent in further text) comes in !!!

Agent is a separate, stand-alone process which uses Win32 inter process communication facilities to receive programmer defined messages coming from a client process via an Agent DLL loaded into the client process. Agent has an Explorer like user interface. One of the requirements we set for the Agent was that it can be used with programming environments other then C++ (for example, Delphi). This is the reason why the Agent is statically linked with MFC and C++ runtime library (programmer doesn't need anything else but the Agent itself to run it on a target computer). Agent DLL is a non-MFC DLL with a very small footprint. It is used for programming environments like Delphi. For convenience and for Visual C++ projects, there is also a C++ Agent LIB library which takes care of dynamically loading the Agent DLL. It is also very small and will enable a process to work even if Agent DLL is not found or Agent is not running...

Read article at Internet.com site
Related Article
- Understanding the Microsoft Access Runtime Engine
Many developers misunderstand key aspects of the Access Runtime Engine and the Microsoft Office Developer. Microsoft Access can be used as a development tool. Not only does the Access Runtime Engine make it possible to distribute your applications to people who don't have Access, but it also lets you do a lot more.
Regional Articles
- Runtime Monitoring Agent Alabama
- Runtime Monitoring Agent Alaska
- Runtime Monitoring Agent Arizona
- Runtime Monitoring Agent Arkansas
- Runtime Monitoring Agent California
- Runtime Monitoring Agent Colorado
- Runtime Monitoring Agent Connecticut
- Runtime Monitoring Agent DC
- Runtime Monitoring Agent Delaware
- Runtime Monitoring Agent Florida
- Runtime Monitoring Agent Georgia
- Runtime Monitoring Agent Hawaii
- Runtime Monitoring Agent Idaho
- Runtime Monitoring Agent Illinois
- Runtime Monitoring Agent Indiana
- Runtime Monitoring Agent Iowa
- Runtime Monitoring Agent Kansas
- Runtime Monitoring Agent Kentucky
- Runtime Monitoring Agent Louisiana
- Runtime Monitoring Agent Maine
- Runtime Monitoring Agent Maryland
- Runtime Monitoring Agent Massachusetts
- Runtime Monitoring Agent Michigan
- Runtime Monitoring Agent Minnesota
- Runtime Monitoring Agent Mississippi
- Runtime Monitoring Agent Missouri
- Runtime Monitoring Agent Montana
- Runtime Monitoring Agent Nebraska
- Runtime Monitoring Agent Nevada
- Runtime Monitoring Agent New Hampshire
- Runtime Monitoring Agent New Jersey
- Runtime Monitoring Agent New Mexico
- Runtime Monitoring Agent New York
- Runtime Monitoring Agent North Carolina
- Runtime Monitoring Agent North Dakota
- Runtime Monitoring Agent Ohio
- Runtime Monitoring Agent Oklahoma
- Runtime Monitoring Agent Oregon
- Runtime Monitoring Agent Pennsylvania
- Runtime Monitoring Agent Rhode Island
- Runtime Monitoring Agent South Carolina
- Runtime Monitoring Agent South Dakota
- Runtime Monitoring Agent Tennessee
- Runtime Monitoring Agent Texas
- Runtime Monitoring Agent Utah
- Runtime Monitoring Agent Vermont
- Runtime Monitoring Agent Virginia
- Runtime Monitoring Agent Washington
- Runtime Monitoring Agent West Virginia
- Runtime Monitoring Agent Wisconsin
- Runtime Monitoring Agent Wyoming
Related Article
- Understanding the Microsoft Access Runtime Engine
Many developers misunderstand key aspects of the Access Runtime Engine and the Microsoft Office Developer. Microsoft Access can be used as a development tool. Not only does the Access Runtime Engine make it possible to distribute your applications to people who don't have Access, but it also lets you do a lot more.

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML