摘要 |
PROBLEM TO BE SOLVED: To provide a debugging device for improving debugging efficiency without any dedicated circuit in a microcontroller. SOLUTION: The debugging device includes: a structure analysis part 11 extracting a branch part of a function to be debugged; a route table generation part 12 generating a route table based on the extracted branch part; a program generation part 13 generating a counter function obtained by inserting a counter in the branch part of the function to be debugged and a route program corresponding to the route table; a compiler 14 compiling the counter function and the route program; a debugger control part 15 setting a breakpoint at the beginning of the function to be debugged and acquiring a result of the counter function; a route analysis part 16 analyzing a route based on the result and the route table; and a route display part 17 displaying the analysis result on the function to be debugged. COPYRIGHT: (C)2011,JPO&INPIT
|