Adding an 'Instruction Log' feature?

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,
I was wondering if there'd be any interest in adding an instruction log to avr studio. The idea came to me when replying to this post:

https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=250549#250549

Something like a window (like the watch window) you could enable when auto-stepping with simulator/jtag/debugwire debugging that would simply keep a line-by-line log of the last few instruction executed, so you know where the program has been.

It would be even better if it was possible to keep such a log when the target micro is running at full speed, for better debugging of interrupt driven programs, which typically get jumbled around when single stepping (always being stuck in interrupt routines because the external interrupts are coming too fast). I doubt this would be possible though with the way in-circuit debugging works, but it'd be nice.

What do you think?

Electronics Design and other funky stuff -
alelec Engineering
http://www.alelec.net