Thanks man, that style of debugging sounds familiar

I'm kind of writing a very primitive kernel for the MIPS architecture at school, like, getting three different processes to get along and not disturb each other.. So i know how the most simple of tasks can be f*ing frustratingly error prone..
But anyway, do you use makefiles or how does it work, say, you plug the nxt into your computer.. Then what? Do you have to write your own drivers and shit? I don't really know how to begin with this, in school we have a program that emulates a MIPS processor, and you write the code in a .s-text document, compile with make, and then it just works (well, at least the compilation works

P) ..