When CodeSite was first introduced, it immediately changed the way developers locate problems in their code. In subsequent releases, CodeSite was extended beyond the developer’s workstation to become a full-featured application logging system. Now, CodeSite 5.0 takes application logging and debugging to a new level by focusing on developer productivity, usability, logging capabilities, and deployment. CodeSite 5.0 supports the latest development frameworks and integrated development environments including Embarcadero RAD Studio XE2. CodeSite 5.0 introduces a redesigned message transport format, a flexible new log file format, and even more ways of logging important information from your application. For example, CS5 includes new TraceMethod functionality, profiling timers, PNG image support, and much more. In addition, CodeSite messages can now be transported and saved in a log file in compressed format, which reduces the size of the message on disk and also obfuscates the message data the log file.
A key element to CodeSite’s effectiveness is that unlike message boxes and inspecting variables on breakpoints, CodeSite messages are not transient. The resulting log of messages provides valuable information for locating problem areas in your code. In addition, sending CodeSite messages does not interrupt the flow of your application as happens when message boxes and breakpoints are used. As a result, CodeSite is much more effective in situations where user interactions (eg. focus changes) and painting issues need to be tracked.
CodeSite also addresses several shortcomings with traditional logging/tracing solutions. For example, CodeSite allows logging complex data structures and is not limited to simple strings. CodeSite also provides more control over what gets logged and when. Instead of relying on arbitrary logging levels, separate loggers are used to categorize CodeSite messages. CodeSite also gives developers more flexibility in managing their logging information such as enabling multiple applications (or multiple instances of the same application) to send logging information to the same log file. In addition, the CodeSite viewers, which are designed specifically for analyzing CodeSite logging messages, provide extensive, easy-to-use tools for analysis.