Is it OK to debug from RAM then disconnect JTAG cable?

Hi - I’m using an AT91-SAM-ICE to debug code on an AT91SAM7X256 board. For some odd reason, flash debug has stopped working, so I always debug from the RAM. I can, oddly enough, program the flash with the Atmel ISP utility, but that is a bit of a pain. I am using IAR Embedded Workbench to debug my code.

My question is this: is it OK for me to start debugging code in the RAM with the SAM-ICE, and then leave debugging mode, and then unplug the JTAG cable? When I do this, the code continues to run, but I’m not sure if that is just a fluke or if this is an OK thing to do.

Anybody know? Thanks!