Patent ID: 6718484
Filing Date: 2004-04-06
Classification: G06F

Abstract:
A debugging apparatus for debugging a multitask program, comprising:a setting unit for setting a barrier synchronization point which groups a breakpoint set for each of a plurality of tasks; a judgment unit operating each time a different one of the tasks stops at a corresponding breakpoint, in order to judge whether all tasks having breakpoints belonging to the barrier synchronization point have stopped at the respective breakpoints; a resumption unit bringing a newly stopped task into a suspended state and then resuming execution of a multithread program, upon judgment by the judgment unit that not all of the plurality of tasks have stopped; a control unit for bringing the suspended tasks back to an executable state when the judgment means judges that all the tasks have stopped; and an execution unit, wherein when after barrier synchronization operation is started in response to stoppage of a task at a breakpoint belonging to a certain barrier synchronization point the task is stopped at a certain breakpoint belonging to the certain barrier synchronization point and set so as to be out of constitution of the barrier synchronization point, the execution unit resumes the multitask program while ignoring the certain breakpoint.