Steps to create an Object Project
On the File menu, click Open, and then click Open Object File For Debugging.
Open Object File For Debugging wizard will appear.
In the Select the object file to debug, select your object file to debug. The object file must be supported by Atmel Studio.
In the Project Name, type a name for the project. Atmel Studio will suggest a name, which you can override if wanted.
In the Location, select a save location. Atmel Studio will suggest a name, which you can override if wanted.
Maintain Folder Hierarchy for Source Files option is selected by default which would create a similar folder structure in the Solution Explorer as that of the source project i.e. the project used to create the object file. Otherwise, all the files are added to the root folder of the project file i.e. the user would not see any folder in the Solution explorer.
Add File As Link option is selected by default in which the object project shall refer the files from its original location without a local copy into the project directory. If the option is not selected, Atmel Studio would copy the files into the object project directory.
Click Next. The Device Selection dialog will appear.
Choose the appropriate target device. The target device should be the same, which was originally chosen to create the object file.
Click Finish. The object project files re-mapper appears. In this particular dialog you need to remap your original files of the project using, which the elf projects was created. If files are present at their original place, it will show remapped already in dialog. If files are missing, you will have to remap it manually. Check the screen shot below.
If the user resolves the parent folder for any original file, all other files in subsequent directory will be remapped recursively. So, it is useful for the user to remap the number of files by just remapping only one.
Now the Object Project is Created. The files that are not remapped properly are shown in solution explorer like "libgcc.S", with warning sign . Press F5 to debug this Project.