Patent ID: 9262305
Filing Date: 2016-02-16
CPC Classification: G06F

Claim Text:
1. A method for stepping through source code of modeled components in a virtual platform during simulation of the modeled components, the method comprising: on a computer device having a single interface to access all of the modeled components for the virtual platform including at least one modeled hardware component and at least one modeled software component, the interface running on a single control thread in the virtual platform: processing source code for each modeled component, the processing including traversing the source code to identify insertion points at domain context switches; upon detecting an insertion point at one of the domain context switches in the source code for a modeled component, inserting a breakpoint; and simulating the modeled components using an event-driven simulator, wherein upon detecting the breakpoint during the simulation, transferring control of the simulation to the control thread wherein the control thread accesses state information for at least one modeled component responsive to the inserted breakpoint by utilizing a global identifier to retrieve the state information from a memory, wherein the domain context switches occur when the source code being processed switches from being: (i) the source code of the modeled hardware component to the source code of the modeled software component or (ii) the source code of the modeled software component to the source code of the modeled hardware component.