A blog about programming topics, mostly JVM, Linux kernel, and x86 related things.

Tuesday, July 7, 2009

Stack traces in Jato

Tomek finished support for stack traces:

  penberg@penberg-laptop:~/src/jato$ cat Exception.java 
public class Exception {
public static void foo() {
throw new RuntimeException("error");
}

public static void main(String[] args) {
foo();
}
}
penberg@penberg-laptop:~/src/jato$ javac Exception.java
penberg@penberg-laptop:~/src/jato$ ./scripts/java Exception

[snip]

Exception in thread "main" java/lang/RuntimeException: error
at Exception.foo(Exception.java:3)
at Exception.main(Exception.java:7)


Yay!

No comments: