Patent ID: 8255203

Claim:
A method of debugging an executable computer application comprising instructions of a first computer architecture instruction set and instructions of a second computer architecture instruction set, the method comprising: determining whether an instruction being debugged is from the second computer architecture instruction set; obtaining debug information from an emulator of a second architecture instruction set in a first architecture environment when the instruction being debugged is from the second computer architecture instruction set, wherein the debug information results from emulation of the instruction being debugged, wherein obtaining the debug information from the emulator comprises: signaling to the emulator to stop emulation by a debugger; making a determination, by the debugger, that the emulator is in the midst of emulating the instruction, in response to the debugger signaling to the emulator to stop emulating; in response to determining the emulator is in the midst of emulating the instruction, the debugger signaling to the emulator that it should notify the debugger when it has finished emulating the instruction by setting a flag in the emulator; and the emulator completing emulating the instruction and notifying to the debugger that it is safe to stop the emulation; and running the debugger in the first architecture environment using the obtained debug information.