Re: Debugging JITed code
Jan Kotas <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.rotor |
|---|---|
| Message-ID | <DD12668590C9274E9B2226FDBD02B98807D51868@red-msg-08.redmond.corp.microsoft.com> |
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