Archive for November, 2006

What Is the Deal with Memory Difference Mode?

Thursday, November 23rd, 2006

dotTrace 2.0 offers two different ways to profile memory. Each of them is useful for a particular type of profiling tasks, described below.

Dump Memory Mode

You can dump memory at any given time to see what’s in it. This is good for checking whether certain objects are allocated in memory if they are supposed to (or not supposed to), and whether they consume as little memory as they should.

Here’s how you do that:

  1. Start the application for profiling
  2. At any time, click the Dump Memory button on the Control Profiling dialog to generate a snapshot:

    Control Profiling dialog - Dump Memory button


Memory Difference Mode

This lets you check the difference between two application memory states. It’s a good way to profile a certain feature or action in your application. For example, you can have the application open a file and close it, and then see whether all objects associated with the opened file have been properly disposed of. For this, you need to mark the first point in time (”Point A”), let the application do something, then mark the second point (”Point B”). A memory snapshot generated in this way will contain all data related to the memory differences between Point A and Point B.

Here’s how you do that:

  1. Start the application for profiling
  2. At any time, click Mark Memory on the Control Profiling dialog to mark Point A
  3. In the profiled application, perform the action that takes you from Point A to Point B
  4. Click Get Snapshot to mark Point B and generate a snapshot:

    Memory Difference mode - Get Snapshot button
  5. If you want to return to regular profiling mode (no snapshot generation), click Drop Snapshot


In both of these modes, the profiled application continues to run after a snapshot is taken. You are free to combine profiling in the dump memory mode and the memory difference mode as your profiling needs require.

Technorati tags: , ,

TeamCity 1.1 minor release: new features, bugfixes, and usability improvements

Tuesday, November 14th, 2006

The latest version of TeamCity is now available at Download page.

This release is mainly aimed at improving product quality based on your bug reports and feedback, which we really appreciate. We have also added several features that make your team development process smarter:

  • Support for TestNG tests for Ant build runner
  • Subversion access over https with client certificate authentication


Now TeamCity works under Internet Explorer 7.0 and Firefox 2.0.

You can take a look at these and other features in the TeamCity live demo.

More features are coming soon in the next minor release:

  • support of ClearCase and Visulal SourceSafe
  • long-awaited integration of TeamCity with Microsoft Visual Studio


Join our early access program and be the first to know about new features and share your opinion on new and existing features!

Technorati tags: , , , , , , ,

Favorable review of dotTrace 2.0

Tuesday, November 14th, 2006

The recently released dotTrace 2.0 is making its way into the .NET community. Here is a short blogpost from David Hayden, who reports appreciating dotTrace’s new profiling features:
JetBrains dotTrace 2.0 - Impressive New Profiling Features - Memory and Performance Profiling .NET Applications.

You can also read David’s positive experience of performance profiling with dotTrace, described in this walkthrough:
JetBrains dotTrace - Profiling my Simple Winform Database Explorer and Code Generator

Technorati tags: , ,

Announcing Early Access Program for ReSharper 2.5

Friday, November 10th, 2006

We are proud to announce that Early Access Program (EAP) for ReSharper 2.5, the next version of our ‘Most intelligent add-in to Visual Studio .NET,’ has started. Please note that ReSharper 2.5 supports only Visual Studio 2005. However, users of ReSharper for Visual Studio 2003 should not worry, since we will continue to release bugfix updates.

The changes introduced in ReSharper 2.5 are primarily focused on performance issues, but new features are also included.

Performance improvements:

  • Visual Studio startup time with ReSharper 2.5 is close to that of Visual Studio without ReSharper
  • The speed of typing in the editor is greatly improved
  • ReSharper installation is now faster
  • More speedups for code formatting, error highlighting, Live Templates, parameter info, etc.


New features include:

  • Overall user interface improvement – now more “Visual Studio-like”
  • Improved Find Results View window
  • Navigate From Here – single shortcut for all navigation actions available at this point
  • Go to File Member – Ctrl+F12 now allows navigation to symbols declared in the current file, similar to Go To Type (Ctrl+N)
  • Option page for disabling individual context actions
  • NullReferenceException analysis (ReSharper now warns you whenever accessing a variable that can possibly be null)
  • More context actions and quick-fixes


The EAP version of ReSharper 2.5 also supports Visual Basic .NET in read-only mode. Please note that it’s currently in the experimental stage (this means that we will decide on whether to include it in the final version after Early Access Program finishes). The following ReSharper features are available in Visual Basic .NET:

  • Navigation & search features (go to declaration/base/inheritor(s); find usages; go to type/file; etc.)
  • Matching brace highlighting
  • Extend selection (Ctrl+W)
  • Quick documentation popup (Ctrl+Q)


You can download the latest build of ReSharper 2.5 EAP here:

http://www.jetbrains.net/confluence/display/ReSharper/Download

Technorati tags: ,

Double .NET Release − Double the Pleasure!

Friday, November 3rd, 2006

Wednesday was another double-whammy day for JetBrains. The second major release of our intelligent .NETprofiler − dotTrace 2.0 − is now available. The other good news for .NET developers is JetBrains ReSharper UnitRun 1.0 − a small but powerful unit testing tool for Visual Studio.

What’s even better, each of these products comes with a sweet deal:

  • Buy the .NET Productivity Pack: ReSharper 2.0 + dotTrace 2.0 before December 15 and save $99!
  • ReSharper UnitRun for FREE!


Here’s a quick overview of our newly released software.

dotTrace 2.0

Memory profiling tops the list of new features in dotTrace 2.0. Now you can see what happens with the memory used by your .NET applications, including garbage objects, allocation callstacks, live, new, and dead memory objects (in memory difference mode), held and reachable objects, and much more.

Other enhancements include:

  • Integration with Visual Studio. Developers can now run dotTrace from the Visual Studio IDE and easily navigate to source files in their solution.
  • Multiple snapshots of the same application as it is profiled. Several snapshots can be opened at the same time to compare and contrast them.
  • Performance snapshot comparison. This automatic comparison tool makes it easier to compare function timings - particularly useful to do before and after an optimization.
  • Windows services can now be profiled in the same way as web applications.
  • And much more - see the complete What’s new list.


ReSharper UnitRun 1.0

UnitRun is a free tool that delivers ReSharper’s unit test runner functionality as a separate add-in for Visual Studio .NET 2005.

You can now automatically run, debug and profile unit tests right from the code editor or from Visual Studio’s Solution Explorer. The dedicated Unit Test Runner window lets you analyze test results, run or rerun any tests, and navigate from a failed test’s output directly to the code line that originated the exception.

Results are displayed in the Unit Test Tree View, which contains an overview of all tests in the build together with icons to indicate the state of each test. From this view you can start running, debugging or profiling tests. Two additional tabs in the Test Tree View allow filtering of the results to show only failed or ignored tests.

Oh, and when UnitRun is installed, you can also start profiling unit tests right from the code editor.

Note for ReSharper Users: If you use ReSharper, you don’t need UnitRun – it’s already in there!

Technorati tags: , , ,