Re: [Ikvm-developers] Line numbers in stack traces
Brought to you by:
jfrijters
|
From: Michael B. <mb...@gm...> - 2008-01-17 18:39:46
|
Jeroen, Thanks so much for the fast reply. Again, I am speaking about pure Java code (no C# references) compiled using javac, not ikvmc. If I run the program on the command line using java, I get line numbers in the stack trace. If I run the same program on the command line using ikvm, I get no line numbers in the stack trace. Any ideas? $ ikvm -version IKVM.NET Launcher version 0.37.2873.14235 Copyright (C) 2002-2007 Jeroen Frijters http://www.ikvm.net/ CLR version: 1.1.4322.2407 (32 bit) mscorlib: 1.0.5000.0 ikvm: 0.37.2873.14235 IKVM.OpenJDK.ClassLibrary: 0.37.2873.13856 IKVM.Runtime: 0.37.2873.14234 GNU Classpath version: 0.95 OpenJDK version: b13 Thanks, Mike On Jan 17, 2008 11:57 AM, Jeroen Frijters <je...@su...> wrote: > Michael Baker wrote: > > I am referring to code compiled using javac, not ikvmc. > > > > An obvious difference between the ikvm and java JVMs is the lack of > > line numbers in the ikvm stack trace. > > When running on .NET 2.0 the IKVM stack traces have line numbers (that is, the stack traces you get with Throwable.printStackTrace()). > > If you're talking about the .NET stack traces, these only contain lines numbers if you compile with debugging information ("ikvmc -debug" or by running dynamically generated code in the debugger). > > Regards, > Jeroen > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Ikvm-developers mailing list > Ikv...@li... > https://lists.sourceforge.net/lists/listinfo/ikvm-developers > |