Recent Changes - Search:

JSnapshot User Guide

Getting Started

  1. Create a java application (Hello world that throws division by zero exception)
    
    package com.jsnapshot.test;
    
    public class HelloWorld {
    
    	public static void main(String[] args) {
    		System.out.println("Hello, World");
    		int a = 1;
    		int b = 0;
    		int c = a / b; //Throws exception
    	}
    
    }
    
    
  2. In Package Explorer right click on your java file, from the context menu select Run with JSnapshot As > Java Application


  3. It will switch to Debug perspective (if it won't, switch to Debug perspective manually)


  4. Observer your application console output


  5. Search an exception snapshot by exception tag




  6. Explore exception snapshot


Edit - History - Print - Recent Changes - Search
Page last modified on July 24, 2011, at 05:48 PM