Setting instance breakpoints in object oriented computer...

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 9/44 (2006.01) G06F 11/00 (2006.01) G06F 11/28 (2006.01) G06F 11/36 (2006.01)

Patent

CA 2211505

A mechanism for setting a conditional breakpoint on all methods called by a specific instance of a class. To set the instance breakpoint, the debugger must first determine all of the methods that can be applied to the object type or class. In an environment in which full debugging information includes the correspondence between virtual function tables and specific classes, and full class hierarchy information, the methods can be located by locating the pointer to the type's virtual function table, and from the virtual function table, locating the specific class in the debugging information. Identifying the specific type permits all of the base classes of the type to be identified in the debugging information, and from the class hierarchy information, all methods for objects of the type can be compiled. The debugger then sets a conditional breakpoint on each method, the condition specifying that the breakpoint should cause program execution to automatically stop only if the method is being called for the particular object or instance for which the instance breakpoint was set. Information gathered at these program suspensions can be used in granular program debugging to locate problems particular to the specific instance.

L'invention est un mécanisme servant à établir un point d'interruption conditionnel dans toutes les méthodes sollicitées par une instance spécifique faisant partie d'une classe. Pour établir le point d'interruption se rapportant à l'instance en cause, le débogueur doit d'abord identifier toutes les méthodes qui peuvent être appliquées au type ou à la classe de l'objet. Dans un environnement où une information de débogage complète comprend la correspondance entre des tables de fonctions virtuelles et des classes spécifiques, ainsi qu'une information complète sur la hiérarchie de ces classes, ces méthodes peuvent être identifiées en plaçant le pointeur sur la table des fonctions virtuelles du type et, à l'aide de cette table de fonctions virtuelles, en localisant la classe spécifique dans l'information de débogage. L'identification du type spécifique permet d'identifier toutes les classes de base du type dans l'information de débogage et, à l'aide de l'information sur la hiérarchie des classes, toutes les méthodes pour les objets du type en cause peuvent être compilées. Le débogueur établit alors un point d'interruption conditionnel sur chacune des méthodes, la condition étant que ce point d'interruption doit interrompre automatiquement l'exécution du programme seulement si la méthode est sollicitée pour un objet particulier ou pour l'instance pour laquelle ce point d'interruption a été établi. L'information recueillie lors de ces suspensions de l'exécution du programme peut être utilisée dans un débogage granulaire pour localiser des problèmes spécifiques se rapportant à une instance donnée.

LandOfFree

Say what you really think

Search LandOfFree.com for Canadian inventors and patents. Rate them and share your experience with other people.

Rating

Setting instance breakpoints in object oriented computer... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Setting instance breakpoints in object oriented computer..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Setting instance breakpoints in object oriented computer... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1972387

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.