Set breakpoint at the EmitXXX function. Once the breakpoint is hit find
out where the code got placed in memory by looking at the return value
of the sl.Link()->GetEntryPoint(). you may need to step out a couple of
frames to get to this point. Set the breakpoint at the entrypoint of the
dynamically generated method and you are set to debug it.

-Jan

This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of Archana
Sent: Saturday, July 19, 2003 3:34 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] Debugging JITed code

Hi,
 how do we debug the assembly code generated by functions like
EmitCore(..)[ file: jitinterfacex86.cpp, OS: FreeBSD] ?

thanks,
archana

Reply via email to