Hi Benjamin,
Notepad++ is a great little text editor with syntax highlighting for lots
of programming languages. There is no way to debug the IJM macro from
within notepad++, since it is only a text editor.
ImageJ does give you a macro editor ( Plugins > Macros > Edit ), from which
you can run your macro (I think it is: File > Compile and Run). You may
also directly run the macro (Plugins > Macro > Run).
As for debugging, there is a debug window that pops up if errors occur.
There is also a log window that allow you to see some information about
your variables. These two windows are pretty useful. Another way to
discover commands, is to use the record macro feature (Plugins > Macro >
Record) which will snoop on your actions in ImageJ, and report the macro
commands in the recording window.
A last idea that you can use to help debug is to make use of printing out
variable contents as your script/macro is running because it will directly
show you how your script is running.
Hope that helps,
Lenny
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html