JTAG Debugging

If I understand correctly, to use the JTAGICE II or up, you have to use it through Atmel Studio and there are no cheap clones available. What application would we use with our own JTAG debugger to debug with the Arduino IDE? And you need all source code in order to debug, correct?