1.       NT32 supports source level debugging for UEFI drivers and Applications 
through VS200x.



2.       If you want to debug App, you have to add the app to [Components] 
section of Nt32Pkg.dsc file to build.

It’s because it requires a special linker build flag 
“/EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT)” to support source level 
debugging. You can find more details at DxeNt32PeCoffExtraActionLib.c line 344.

From: Amit Kulkarni [mailto:[email protected]]
Sent: Friday, December 13, 2013 18:54
To: [email protected]
Subject: [edk2] How to debug application running in secmain with WinDbg/VS2010

Hi All,

I am trying to debug hello sample from EADK running in NT32(secmain) using 
WinDbg & VS2010 but my breakpoint does not hit. I observed that lm command does 
not show hello in loaded module list.

So is it possible to debug in NT32(secmain) using WinDbg/VS2010?
Is there any way to do source level debugging while running in secmain?

Thanks & Regards,
Amit Kulkarni.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to