Arduino IDE suggestion

Gentleman, After having programmed for over 25 years (in C and asm) one thing that I have come to appreciated (and the Arduino does not have) is a single step process for troubleshooting. I have recently been trying to troubleshoot several programs that a friend wrote 2 years ago. The problem is that he used ARDUINO 0012 to compile them and wouldnt you know it that wont run on my Windoze 7 will not load or run this version. One of the programs has a small sequence error that could probably be isolated very easily if I could single step through the program.

Also in another effort to compile one of the other program with 0018 or 0022 which are the two versions I have loaded I keep getting an "undefined reference" error for both setup() and loop() in MAIN.cpp. I have yet to figure out how to make this program run. Any idea how to fix this?

Thanks

Dillon

I cant seem to get past this problem. I have thought of actually putting MAIN into my program and see if that fixes the problem.

I resolved the problem with MAIN.CPP

I just put void to setup and loop as in:

void setup() and void loop()

(and the Arduino does not have) is a single step process for troubleshooting.

Have you looked at how big the debugger is? How do you propose to fit a debugger on the Arduino? How would you interact with the debugger? The Arduino does not have a keyboard or a monitor?

Realistic request are one thing. This is something else.

Dillon, if you post the code maybe we can see how to port it to version 22... often it are just a few small changes ..

You said there were more sketches so just start with the smallest one, as the problems probably are similar and if we do one you can do the rest yourself,

Rob

BTW, I do my one step debugging of Arduino with paper and pencil - works very well for me ;)

May be this will help: http://arduino.cc/forum/index.php/topic,51910.0/topicseen.html

PaulS:

(and the Arduino does not have) is a single step process for troubleshooting.

Have you looked at how big the debugger is? How do you propose to fit a debugger on the Arduino? How would you interact with the debugger? The Arduino does not have a keyboard or a monitor?

Realistic request are one thing. This is something else.

You do it like MPLAB for PICs. Simulate it on the computer. Actually, I think the "verify" should do this. Debugging gets done before the code ever has to even touch the microcontroller. Also, this would allow people to buy an Arduino and "program" it using the simulator before it even ships to them.

I'm going to check out virtual breadboard again, since that is supposed to offer basically what you are asking for. To bad it has to be a large separate program.

A few years back there was a simulator for AVR chips. Can't remember the name of it though. :(

But, doesn't AVR Studio simulate so you can check your code?