Debugging

View: New views
2 Messages — Rating Filter:   Alert me  

Debugging

by Michael Kay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm able to single-step through the IKVMC-compiled Saxon code from within
the Stylus Studio debugger, which is magic, and it feels very churlish to
complain that it's not working quite perfectly.

But the odd thing is that for some classes, local variables are displayed,
and for other classes, they aren't; and I can't see any reason for the
difference. They were all compiled from Java source using the Ant options

<javac debug="true" debuglevel="source,lines,vars">

and then jared, and compiled into the same assembly using <ikvmc
debug="true">.

Single-stepping works fine for all the classes, it's just that some classes
display no local variables.

Any ideas?


Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

Re: Debugging

by Jeroen Frijters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

I screwed up the debug info in 0.40 (in the switch to IKVM.Reflection.Emit). This has been fixed in the current development version, so 0.42 should work again.

Regards,
Jeroen

> -----Original Message-----
> From: Michael Kay [mailto:mike@...]
> Sent: Tuesday, September 29, 2009 8:53 PM
> To: ikvm-developers@...
> Subject: [Ikvm-developers] Debugging
>
>
> I'm able to single-step through the IKVMC-compiled Saxon code from
> within the Stylus Studio debugger, which is magic, and it feels very
> churlish to complain that it's not working quite perfectly.
>
> But the odd thing is that for some classes, local variables are
> displayed, and for other classes, they aren't; and I can't see any
> reason for the difference. They were all compiled from Java source
> using the Ant options
>
> <javac debug="true" debuglevel="source,lines,vars">
>
> and then jared, and compiled into the same assembly using <ikvmc
> debug="true">.
>
> Single-stepping works fine for all the classes, it's just that some
> classes display no local variables.
>
> Any ideas?
>
>
> Regards,
>
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay
>
>
> -----------------------------------------------------------------------
> -------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart
> your developing skills, take BlackBerry mobile applications to market
> and stay ahead of the curve. Join us from November 9-12, 2009.
> Register now! http://p.sf.net/sfu/devconf
> _______________________________________________
> Ikvm-developers mailing list
> Ikvm-developers@...
> https://lists.sourceforge.net/lists/listinfo/ikvm-developers

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers