Trace information in a virtual machine
1. Field of the Invention A virtual machine in an object-oriented system includes an interpreter. In order to provide trace information from a program about specific method calls, a user defines a selection of methods to be traced. As the program runs on the interpreter, it is determined, whether or...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | English |
Published |
18.05.2004
|
Online Access | Get full text |
Cover
Loading…
Summary: | 1. Field of the Invention
A virtual machine in an object-oriented system includes an interpreter. In order to provide trace information from a program about specific method calls, a user defines a selection of methods to be traced. As the program runs on the interpreter, it is determined, whether or not the method is included within the selection to be traced. For those methods included within the selection, trace information about the method call is outputted. A method block is associated with each method and is used by the interpreter to invoke the method. For each method within the user-defined selection, a flag is set within the method block associated with the method. The status of this flag is checked when the interpreter invokes a method, in order to determine whether or not the method is included within the selection. |
---|