In this exercise you will attach to a running external application. 1. Open 'Calculator' (not 'Galculator' :) from the computer's Applications->Accessories menu (outside of Eclipse). 2. Switch back to Eclipse and open Run->Debug Configurations... 3. Click on C/C++ Attach to Application and press the Add '+' button on the top left. 4. Enter '/usr/bin/gcalctool' as the C/C++ Application. 5. Give the Debug Configuration a name -- call it 'Calculator'. 6. Press Debug. 7. Type 'gcal' into the "Select a process" window to select the 'gcalctool' process and click OK. 8. Explore the stack frames of the various libraries used by gcalctool. Note that the source code is found because we have installed the debug information. Many Linux distributions strip the debuginfo and make it available as a separate package (see debuginfo-install on Fedora). 9. Switch to the calculator application and note that it is suspended and you cannot interact with it. 10. Back in Eclipse, press the detach button in the Debug View. It looks like a red 'N'.