×

Debugger probe for object oriented programming

  • US 6,826,746 B2
  • Filed: 03/08/2001
  • Issued: 11/30/2004
  • Est. Priority Date: 03/08/2001
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of debugging an application comprising Java code and native method dynamic load libraries, the method operating in a computer having an operating system, a system debug application programming interface (API), and a Java Virtual Machine having a Java Platform Debugger Architecture (JPDA) Virtual Machine Debug Interface API, said method comprising the steps of:

  • launching a Java virtual machine (JVM) under the system debug API;

    using a JPDA bootstrap object to obtain a JPDA Virtual Machine Manager;

    accessing a list of connectors from said Virtual Machine Manager;

    connecting a probe program to said JVM by iterating through said list of connectors and storing a command line launch object as a connector object;

    executing an application program for debug and test under the JVM by setting a main argument for the connector object to the name of said application program, setting a suspend argument for the connector object to true, invoking a launch method, which returns a Virtual Machine (VM) object to the probe program, creating one or more exception requests for suspending the application program when an exception event occurs, creating a notification request for loading of classes and thread deaths, reading a list of loaded classes, and spawning a thread which enters an event retrieval loop; and

    simultaneously debugging Java code of said application program and one or more native method dynamic load libraries as the application is executing under the Java virtual machine, wherein the Java code is debugged using the Java Platform Debugger Architecture Virtual Machine Debug Interface API and wherein the native method dynamic load libraries are debugged using the system debug API.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×