Setting and getting system debug flags by name at runtime

Share
Save
Discuss
Claim

Share On Facebook Share On Twitter Share By Email
Save Item
Save Item
Add to
my lists

Filing Information

  • Patent Number: US5771385
  • Application Number: US8623884
  • Filing date: 03/29/1996
  • Issue date: 06/23/1998
  • Predicted expiration date: 03/29/2016
Explore Your Innovation Network™ for an introduction to:

Innovation Network Your First Name:
Last Name:
 
Already a member? Sign In
  • U.S. Classifications: 395/704  · 395/682  ·
  • International Classifications: G06F 944 ·
  • International Classifications: 395704;682 ·
  • View document at: (opens new window):
    USPTO  ·  PAIR  ·  esp@cenet  ·  Patent Family
    * Related patent documents may or may not exist on these sites
16 Claims, No Drawings


Abstract

In a computing system, debug flags for software development, testing, and debugging of a module of the operating system are retrieved and set. The module under development is provided with a debugging message handler and a lookup table of debugging flags. The table maps the debugging flags to memory locations containing the present state of the flags. A debugging message is generated at the application-level by a user desiring to monitor or alter the state of the debugging flags. The debugging message handler decodes the debugging message using the table, and the module reports or alters the debugging flag accordingly. In this manner, real-time program evaluation and control can be achieved without the conventional debugging software packages.

References Cited

U.S. Patent Documents

Document NumberAssigneesInventorsIssue/Pub Date
US4819234 Prime Computer, Inc. Huber Apr 1989
US5386522 International Business Machines, Corp. Evans Jan 1995
US5386565 Ltd. Hitachi Tanaka et al. Jan 1995
US5602729 Mercury Computer Systems, Inc. Krueger et al. Feb 1997
US5603033 S.A. Bull Joannin Feb 1997

Other Publications

"A Real-Time Integrated Environment for Motorola 680xx-based VME and FASTBUS Modules", Berg et al., IEEE Trans. on Nuclear Sci, vol. 36 No. 5 Oct. 1989, pp. 1701-1705.

Referenced By

Document NumberAssigneeInventorsIssue/Pub Date
US6738965International Business Machines CorporationMatthew Alexander WebsterMay 2004
US7559055Research In Motion LimitedLianghua Yang et al.Jul 2009
US6539539Lucent Technologies Inc.Mark S. Larsen et al.Mar 2003
US6775827Harkins Audit Software, Inc.Paul H. HarkinsAug 2004
US6526567International Business Machines CorporationMichael Cobbett et al.Feb 2003
US6226786International Business Machines CorporationKevin Paul Hickman et al.May 2001
US7203926Microsoft CorporationPhillip Lee Bogle et al.Apr 2007
US6202199Mutek Solutions, Ltd.Shlomo Wygodny et al.Mar 2001
US7058928Identify Software Ltd.Shlomo Wygodny et al.Jun 2006
US6058393International Business Machines CorporationMichael Stephen Meier et al.May 2000
US6253368International Business Machines CorporationConstance J. Nelin et al.Jun 2001
US6658484Sharp Laboratories of America, IncorporatedTom OswaldDec 2003
US6061518International Business Machines CorporationRichard Dale HoffmanMay 2000
US6353923Microsoft CorporationPhillip Lee Bogle et al.Mar 2002
US6282701Mutek Solutions, Ltd.Shlomo Wygodny et al.Aug 2001
US7546320International Business Machines CorporationJana H. JenkinsJun 2009
US7152225Sun Microsystems, Inc.Alan HargreavesDec 2006
US7249348Hewlett-Packard Development Company, L.P.Weidong CaiJul 2007
US7620802Panasonic CorporationAkira Takuma et al.Nov 2009
US6178548International Business Machines CorporationKevin Paul Hickman et al.Jan 2001
US6611924Lucent Technologies Inc.Stuart Warmink et al.Aug 2003
US6785848Microsoft CorporationKirk A. Glerum et al.Aug 2004
US7017157Fujitsu LimitedYukiya IshiokaMar 2006

Patent Family

The current document is not in a family.

Read Patent

Read patent

View Drawings


Independent Claims | See all claims (16)

  1. 1. Apparatus for reporting debug value fields in an operating system in a computer, the computer having a processor, an input/output device, and a data storage device, said operation system operating the processor and controlling the data storage device, said processor having a central processing unit, memory and input/output control, said input/output control connected to the input/output device and the data storage device, said apparatus comprising:parse means for parsing a debugging message from an application program, the debugging message having a name field and a value field;a debug symbol table having a plurality of debug symbols with each table entry having a name and a debug symbol address of a storage location for the debug symbol corresponding to the name;search means for searching the debug symbol table for a name matching the name field from the debugging message; andwrite means for writing the value field from the debugging message into the storage location of the debug symbol address whose name matches the name field whereby the value field is reported.
  2. 4. In a computing system having a processor, an operating system, and a memory, said operating system controlling said processor, said operating system comprised of a plurality of modules of software, a method for externally monitoring the real-time operation of a module of the operating system so that the module can be debugged by a software developer using an application-level interface, said method comprising the computer implemented steps of:maintaining a table, in said module, of debugging flags for examination, each one of said debugging flags having a state and a location in the memory, said table mapping each one of said debugging flags to the location of the debugging flag in the memory;passing a debugging message from said application level interface to the module, said debugging message directing the module to report the state of one of said debugging flags;receiving said debugging message in said module;decoding said debugging message in said module; andreporting the state of one of said debugging flags to the application-level interface responsive to said debugging message.
  3. 9. In a computing system having a processor, an operating system, and a memory, said operating system controlling said processor, said operating system comprised of a plurality of modules of software, a method for externally altering the real-time operation of a module of the operating system so that the module can be debugged by a software developer using an application-level interface, said method comprising the computer implemented steps of:maintaining a table, in said module, of debugging flags for examination, each one of said debugging flags having a state and a location in the memory, said table mapping each one of said debugging flags to the location of the debugging flag in the memory;passing a debugging message from said application level interface to the module, said debugging message directing the module to alter the state of one of said debugging flags;receiving said debugging message in said module;decoding said debugging message in said module; andaltering the state of one of said debugging flags to the application-level interface responsive to said debugging message.
  4. 14. A computer program storage medium readable by a computing system and encoding a computer program of instructions for executing a computer process for externally monitoring the real-time operation of a module of the operating system so that the module can be debugged by a software developer using an application-level interface, said computer process comprising the steps of:maintaining a table, in said module, of debugging flags for examination, each one of said debugging flags having a state and a location in the memory, said table mapping each one of said debugging flags to the location of the debugging flag in the memory;passing a debugging message from said application level interface to the module, said debugging message directing the module to report the state of one of said debugging flags;receiving said debugging message in said module;decoding said debugging message in said module; andreporting the state of one of said debugging flags to the application-level interface responsive to said debugging message.