2In Eclipse, you can set the working directory to nachos/proj2 in run/debug configuration.