Debugging Interpreted Input
    1.
    发明申请
    Debugging Interpreted Input 有权
    调试解释输入

    公开(公告)号:US20070277165A1

    公开(公告)日:2007-11-29

    申请号:US11419962

    申请日:2006-05-23

    IPC分类号: G06F9/45

    CPC分类号: G06F11/3624 G06F9/45504

    摘要: A method and system to implement debugging interpreted input is described herein. One or more Intermediate Language (IL) islands are generated. Each IL island maps to one or more lines of source code. The interpreter reads a line of source code and parses the line of source code for a command. Before executing the command, the interpreter may call into the corresponding IL island. The IL island may include a breakpoint that corresponds to a set breakpoint in the mapped one or more lines of source code. The IL island may include a function. When calling the IL island, the interpreter may pass in a function pointer, one or more states of one or more variables, a representation of a call stack, or any other parameters. The IL islands enable a debug tool to do source-level debugging of languages executed by an interpreter without architectural changes to the interpreter.

    摘要翻译: 本文描述了实现调试解释输入的方法和系统。 生成一个或多个中间语言(IL)岛。 每个IL岛映射到一行或多行源代码。 解释器读取一行源代码,并解析命令的源代码行。 在执行命令之前,解释器可以调用相应的IL岛。 IL岛可以包括对应于映射的一行或多行源代码中的设置断点的断点。 IL岛可以包括一个功能。 当调用IL岛时,解释器可以传递函数指针,一个或多个变量的一个或多个状态,调用堆栈的表示形式或任何其他参数。 IL岛允许调试工具对解释器执行的语言执行源代码级调试,而不会对解释器进行体系结构更改。

    Debugging interpreted input
    2.
    发明授权
    Debugging interpreted input 有权
    调试解释输入

    公开(公告)号:US08225286B2

    公开(公告)日:2012-07-17

    申请号:US11419962

    申请日:2006-05-23

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3624 G06F9/45504

    摘要: A method and system to implement debugging interpreted input is described herein. One or more Intermediate Language (IL) islands are generated. Each IL island maps to one or more lines of source code. The interpreter reads a line of source code and parses the line of source code for a command. Before executing the command, the interpreter may call into the corresponding IL island. The IL island may include a breakpoint that corresponds to a set breakpoint in the mapped one or more lines of source code. The IL island may include a function. When calling the IL island, the interpreter may pass in a function pointer, one or more states of one or more variables, a representation of a call stack, or any other parameters. The IL islands enable a debug tool to do source-level debugging of languages executed by an interpreter without architectural changes to the interpreter.

    摘要翻译: 本文描述了实现调试解释输入的方法和系统。 生成一个或多个中间语言(IL)岛。 每个IL岛映射到一行或多行源代码。 解释器读取一行源代码,并解析命令的源代码行。 在执行命令之前,解释器可以调用相应的IL岛。 IL岛可以包括对应于映射的一行或多行源代码中的设定断点的断点。 IL岛可以包括一个功能。 当调用IL岛时,解释器可以传递函数指针,一个或多个变量的一个或多个状态,调用堆栈的表示形式或任何其他参数。 IL岛允许调试工具对解释器执行的语言执行源代码级调试,而不会对解释器进行体系结构更改。

    SIMULATING OPERATIONS THROUGH OUT-OF-PROCESS EXECUTION
    3.
    发明申请
    SIMULATING OPERATIONS THROUGH OUT-OF-PROCESS EXECUTION 有权
    通过过程执行模拟操作

    公开(公告)号:US20090307528A1

    公开(公告)日:2009-12-10

    申请号:US12134908

    申请日:2008-06-06

    IPC分类号: G06F11/28

    CPC分类号: G06F11/366

    摘要: The present invention extends to methods, systems, and computer program products for simulating operations through out-of-process execution. When a diagnostic operation is to be performed for a target execution context, a separate execution context is created based on the same executable code used to create the target execution context. An execution boundary separates the target execution context and the separate execution context such that execution in the separate execution context does not influence the behavior of the target execution context. State data from the target execution context is marshaled and transferred to the separate execution context. The separate execution context reconstitutes the state data and uses the state data to perform the diagnostic operation. Accordingly, performance of the diagnostic operation is simulated in the separate execution context without influencing the behavior of the target execution context.

    摘要翻译: 本发明扩展到用于通过进程外执行来模拟操作的方法,系统和计算机程序产品。 当对目标执行上下文执行诊断操作时,将基于用于创建目标执行上下文的相同可执行代码创建单独的执行上下文。 执行边界分离目标执行上下文和单独的执行上下文,使得在单独执行上下文中的执行不影响目标执行上下文的行为。 来自目标执行上下文的状态数据被封送并传送到单独的执行上下文。 单独的执行上下文重构状态数据,并使用状态数据执行诊断操作。 因此,诊断操作的执行在单独的执行上下文中被模拟,而不影响目标执行上下文的行为。

    Simulating operations through out-of-process execution
    4.
    发明授权
    Simulating operations through out-of-process execution 有权
    通过进程外执行来模拟操作

    公开(公告)号:US08423961B2

    公开(公告)日:2013-04-16

    申请号:US12134908

    申请日:2008-06-06

    IPC分类号: G06F9/44

    CPC分类号: G06F11/366

    摘要: The present invention extends to methods, systems, and computer program products for simulating operations through out-of-process execution. When a diagnostic operation is to be performed for a target execution context, a separate execution context is created based on the same executable code used to create the target execution context. An execution boundary separates the target execution context and the separate execution context such that execution in the separate execution context does not influence the behavior of the target execution context. State data from the target execution context is marshaled and transferred to the separate execution context. The separate execution context reconstitutes the state data and uses the state data to perform the diagnostic operation. Accordingly, performance of the diagnostic operation is simulated in the separate execution context without influencing the behavior of the target execution context.

    摘要翻译: 本发明扩展到用于通过进程外执行来模拟操作的方法,系统和计算机程序产品。 当对目标执行上下文执行诊断操作时,将基于用于创建目标执行上下文的相同可执行代码创建单独的执行上下文。 执行边界分离目标执行上下文和单独的执行上下文,使得在单独执行上下文中的执行不影响目标执行上下文的行为。 来自目标执行上下文的状态数据被封送并传送到单独的执行上下文。 单独的执行上下文重构状态数据,并使用状态数据执行诊断操作。 因此,诊断操作的执行在单独的执行上下文中被模拟,而不影响目标执行上下文的行为。

    Runtime activation and version selection
    7.
    发明授权
    Runtime activation and version selection 有权
    运行时激活和版本选择

    公开(公告)号:US08522227B2

    公开(公告)日:2013-08-27

    申请号:US12545881

    申请日:2009-08-24

    IPC分类号: G06F9/44

    CPC分类号: G06F8/71 G06F9/44536

    摘要: A runtime activation system uses a set of policies designed to provide a balance between backwards compatibility and ease of migrating existing (non side-by-side aware) applications to new runtime versions. The system chooses the runtime version to activate when an application runs or when a runtime application programming interface is invoked based on the set of policies. The system implements these policies by consulting compatibility data associated with the application indicating the intent of the author and level of side-by-side support provided by the application and/or global configuration data. Based on the compatibility data, the system chooses policies that are right in the most common cases, and easy to modify in less common cases. Thus, the runtime activation system allows applications to be flexibly configured to handle new runtime versions in a manner determined by the application author, a system administrator, or others.

    摘要翻译: 运行时激活系统使用一组策略,旨在提供向后兼容性和易于将现有(非并行感知)应用程序迁移到新运行时版本之间的平衡。 系统选择运行时版本,以便在应用程序运行时或基于一组策略调用运行时应用程序编程接口时进行激活。 该系统通过咨询与应用程序相关联的兼容性数据来实现这些策略,指示作者的意图以及由应用和/或全局配置数据提供的并行支持的级别。 基于兼容性数据,系统选择最常见情况下正确的策略,在较不常见的情况下易于修改。 因此,运行时激活系统允许应用程序被灵活地配置为以应用程序作者,系统管理员或其他人确定的方式处理新的运行时版本。

    Simulation of static members and parameterized constructors on an interface-based API
    8.
    发明授权
    Simulation of static members and parameterized constructors on an interface-based API 有权
    在基于接口的API上模拟静态成员和参数化构造函数

    公开(公告)号:US09183001B2

    公开(公告)日:2015-11-10

    申请号:US13350552

    申请日:2012-01-13

    IPC分类号: G06F9/45 G06F9/44

    CPC分类号: G06F9/443 G06F9/449

    摘要: Embodiments are directed to providing a simulation of a type-level construct on an interface instance and to maintaining a token-based event handling system. In one scenario, a computer system instantiates an interface instance that includes an instance object and multiple instance members. The computer system also instantiates a separate typed object which is configured to maintain one or more simulated type-level parameterized constructors. The computer system then associates the instantiated interface instance with the separate typed object. The typed object routes method invocations from the interface instance to various simulated type-level parameterized constructors and static members of the type.

    摘要翻译: 实施例旨在提供在接口实例上的类型级结构的模拟并且维护基于令牌的事件处理系统。 在一种情况下,计算机系统实例化包含实例对象和多个实例成员的接口实例。 计算机系统还实例化一个单独的类型对象,该对象被配置为维护一个或多个模拟类型级参数化构造函数。 然后,计算机系统将实例化的接口实例与单独的类型对象相关联。 类型化对象将接口实例的方法调用到各种模拟类型级参数化构造函数和类型的静态成员。

    System and method for customized error reporting
    9.
    发明授权
    System and method for customized error reporting 有权
    自定义错误报告的系统和方法

    公开(公告)号:US08479051B2

    公开(公告)日:2013-07-02

    申请号:US12358708

    申请日:2009-01-23

    IPC分类号: G06F11/00

    CPC分类号: G06F11/0781 G06F11/0715

    摘要: An error reporting system within the operating system of a computer that provides error reporting and/or debugging for managed applications. The error reporting service supports a registration programming interface through which applications that use non-native or non-standard error reporting functions can register runtime exception modules. A similar interface may be provided for applications to register debuggers. In response to a failure, such as a crash or an application hang, the error reporting service can poll the registered components to ascertain whether any is adapted for use in conjunction with such a failure. If so, the appropriate registered components can be used to collect failure data and/or debug the failed application. In this way, the error reporting service, and an existing framework that supports aggregation of application error reports, can be customized, including to allow error reporting and debugging of non-native applications.

    摘要翻译: 计算机操作系统中的错误报告系统,为受管应用程序提供错误报告和/或调试。 错误报告服务支持注册编程接口,使用非本机或非标准错误报告功能的应用程序可以注册运行时异常模块。 可以为应用程序提供类似的接口来注册调试器。 响应于诸如崩溃或应用程序挂起的故障,错误报告服务可以轮询已注册的组件以确定是否适合与此类故障一起使用。 如果是这样,可以使用适当的注册组件来收集故障数据和/或调试失败的应用程序。 通过这种方式,可以自定义错误报告服务和支持应用程序错误报告聚合的现有框架,包括允许非本地应用程序的错误报告和调试。

    Efficiently providing multiple metadata representations of the same type
    10.
    发明授权
    Efficiently providing multiple metadata representations of the same type 有权
    有效地提供相同类型的多个元数据表示

    公开(公告)号:US08849996B2

    公开(公告)日:2014-09-30

    申请号:US13350604

    申请日:2012-01-13

    IPC分类号: G06F15/16 G06F17/30

    摘要: Embodiments are directed to dynamically adapting metadata for use with a native data encoding and to efficiently modifying object model type references. In one scenario, a computer system instantiates a metadata reader over an object model description to access various portions of metadata in the object model description. The metadata reader is configured to read native metadata, where native metadata is metadata represented in an encoding that is expected by the metadata reader. The metadata reader determines that the accessed metadata is encoded in a non-native encoding and then determines which metadata modifications are to be performed to transform the non-native encoding into a native encoding. The computer system then dynamically adapts the metadata of the object model from a non-native encoding to a native encoding according to the determined modifications. As such, the object model is readable by a native runtime.

    摘要翻译: 实施例旨在动态地适应用于本地数据编码的元数据并且有效地修改对象模型类型引用。 在一种情况下,计算机系统通过对象模型描述实例化元数据读取器以访问对象模型描述中的元数据的各个部分。 元数据读取器被配置为读取本机元数据,其中原始元数据是以元数据读取器预期的编码表示的元数据。 元数据读取器确定所访问的元数据以非本地编码进行编码,然后确定要执行哪些元数据修改以将非本地编码转换为本地编码。 然后,计算机系统根据所确定的修改,将对象模型的元数据从非本地编码动态地适应到本地编码。 因此,对象模型可以由本机运行时读取。