Provided you have wiiload set up correctly, double clicking this will allow you to easily send your most recently compiled .dol/.elf to your Wii. Your makefile entry for wiiload should look something like this, if not set up already:
This is the same as the standard makefile from the template, but
"make" is added simply to be sure we have a compiled version before trying to send our .elf/.dol file.
== More Settings ==
*Hit next, accept the terms, then finish. It will install, and ask you if you want to restart Eclipse, and I suggest you do.
Method & Settings ===In order to debug a Wii application, you have to connect your debugger to it somehow. Your options consist of the use of a USB Gecko or a libogc wifi patch. Either way, the base setup is the same.* Head to Run > Debug Configurations. Select "Zylin Embedded debug (Native)" and create a new configuration.
*Name it HelloWorld GDB or other relevant name, but bear in mind that it will need to be unique across all Eclipse projects.
From here, I'll explain settings tab by tab, as there are several ways to achieve the same setup.
==== Main tab ====
Adding your project name is optional, and may or may not be filled in for you already . It only seem to enable the Search Project button below, which doesn't actually do anything useful for us.*In ''C/C++ Application'' you can specify your project's .elf (not.dol) to be used by GDB as a symbol file. Alternatively , it can be done via the commands tab.
==== Debugger tab ====
==== Commands tab ====
*If you are not using an external gdb command file, "Initialize" should contain your
"target " command, and if you did not specify a path to your project .elf in the C/C++ on the main tab, a "symbol-file" command.
*I don't personally use "run" for any gdb commands, but it probably has a use for more seasoned developers.
*If you don't want to be able to use the Eclipse console to enter GDB commands, you have the option to disable it, but I'd recommend that you leave it enabled.
*You can also have an external file process the output from GDB.
==== USB Gecko ====
*Eclipse has a SVN client plugin that you may like. [http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA Subclipse]
*Apply tcpipwifi.patch from: http://sourceforge.net/tracker/?func=detail&aid=2707076&group_id=114505&atid=668553
*Compile libogc and install.