[edk2] How to debug UEFI (UDK2014) Shell application Using Visual Studio

Subject: [edk2] How to debug UEFI (UDK2014) Shell application Using Visual Studio

From: partha sarathi swain <partha161.silicon@gmail.com>

To: edk2-devel@lists.sourceforge.net

Date: 2014-09-05 20:37:27

Hi All,

I have downloaded EDK (UEDK2014) from taniacore site and I have successfully build UEFI application in Debug mode using following command

 C:\UDK2014.Complete.MyWorkSpace\UDK2014.MyWorkSpace\MyWorkSpace>
 build -t VS2012x86  -b DEBUG

As it is in Debug mode it will create a .pdb file (SecMain.pdb). My Question is How to debug this binary using VS 2010. I trided doing that by running SecMain.exe, attach it to Visual Studio 2010 and start debugging but not able to do that. Could any one have done this (Debugging an UEFi application using VS 2010) before ? please let me know if you have solution to this.


Thanks & Regards

Partha Sarathi Swain
ASD Dept.
LSI India Research and Development Center,
Bangalore-560103.

--------------------------------------------------------------------------------------------------------------------------------------------------
"The earth is round and the place which may seem like the end may also be the beginning"
--------------------------------------------------------------------------------------------------------------------------------------------------