# How to Debug in APM

I am using Arm Project Manager (APM) for writing the firmware in my ARM board. My question is: What are the live debugging features available in APM? Let's say I need to inspect the value at some pin of the CPU.

Any tutorial / video is helpful.

-
 You mean this tool for which the documentation is marked as "Withdrawn" on infocenter.arm.com? That's worrisome. – Kevin Vermeer Mar 7 '11 at 19:54 Also, why don't you inspect the value of the pin with an oscilloscope or DMM - Is it a BGA or QFN with inaccessible tracks? The basic idea (which I've used in gdb) is to read the value at the memory address which stores the pin status. – Kevin Vermeer Mar 7 '11 at 19:56 Yes exactly. I don't get much help how to do debug in hardware with JTAG port using APM – David Mar 7 '11 at 19:57 when you use gdb to inspect the values, how do you do live debugging. how do you stop your processor at certain moment to inspect some value. In brief can you please describe me the debugging flow? – David Mar 7 '11 at 20:01 Briefly, monitor reset halt, b main(or other function), continue, s to desired point in program, x addr where addr is the desired location. Use OpenOCD to connect remotely. I started learning with this lab. However, this is really a different question. – Kevin Vermeer Mar 7 '11 at 20:24