Saturday, April 21, 2007

Code analysis with Eclipse Profiler

Code Analysis with the Eclipse Profiler


Profiling Background

The Eclipse Profiler

Installation of the Eclipse Profiler

Select the Profiler Perspective
The Profiler Perspective

Capturing Profiling Information

Setting up the Remote Debugger Configuration

Setting up the Profiler Configuration

The Profiler Tab
The Debug Window

This document describes an analysis technique using the Eclipse Profiler that:

  • eases the process of analysing large amounts of code
  • is free
  • flattens out OO design and resolves runtime class loading, showing what code actually ran at a particular moment in time
  • creates a graph of the call stack
  • syncs the call graph with source code so you can navigate the code using the graph as a navigational aid
  • allows you to save and re-load analysis information
  • is self-documenting, providing a view of the code at the point of execution rather than a view created the last time the documentation was updated
  • thins out un-important information in the code such as getters and setters
  •  powered by clipmarksblog it