Debug a *.adx file in Andesight (without project)
I have tested to debug “a.out” binary in AndeSight, and I can debug it.
Following are my steps:
1. Create a new C, AICE, N968A, and empty project named “aaa”.
2. Open the aaa directory, and new a "Debug" folder in "aaa".
3. Copy “a.out” into “Debug” folder.
Attachment:
1.gif [ 15.6 KiB | Viewed 8409 times ]
4. Project “aaa” will look as following picture in AndeSight .
Attachment:
2.gif [ 16.71 KiB | Viewed 8409 times ]
5. Power-on XC5 board, and press “PWR ON” button.
6. Connect AICE USB cable.
7. Right click on “a.out”, and select “Debug As”à”Debug Configurations…”.
8. Delete all sub-items in “C/C++ Application” by seleted it and pressed Delete key.
9. Double click ”C/C++ Application” to create new one for "a.out.
10. Select “Debugger” tab, and change “Stop on startup at:” from “main” to “_start”.
11. Press “Apply” and “Debug” button.
12. It will switch to “Debug” perspective, and stop at “_start”.
13. Press “Instruction Stepping Mode” button for debugging ASM code.
Attachment:
3.gif [ 55.04 KiB | Viewed 8409 times ]
14. Press “Step Into” (F5) or “Step Over” (F6) to debug.