Hello Martin, right now it wasn't possible for me to solve the problem. But with the new information from Andrew I will have a look again. If I find something new I'll let you know.
Regards, Michael -----Ursprüngliche Nachricht----- Von: Martin Turnock [mailto:martinturn...@yahoo.com] Gesendet: Mittwoch, 6. März 2013 19:31 An: edk2-devel@lists.sourceforge.net Betreff: Re: [edk2] Source-level-debugging (NT32 + MS Visual Studio 2010) Michael Lorer <michael.lorer <at> opus.de> writes: > > > Hello, > > I investigated some more in my problem. > And traced the problem of the not loaded symbols to an Winnt-API-call > in Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib: > Library = mWinNt->LoadLibraryEx (DllFileName, NULL, DON’T_RESOLVE_DLL_REFERENCES); > That call returns NULL back to Library and therefore the symbols > aren’t loaded. > > Right now it wasn’t possible for me to debug into the API-call. > But with mWinNt->GetLastError(); I get back an errorcode 87: > http://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs. > 85).aspx > > Does someone have any ideas what to check further? > > Regards, > Michael > > Von: Michael Lorer [mailto:michael.lorer <at> opus.de] Gesendet: Dienstag, 4. Dezember 2012 16:33An: edk2-devel <at> lists.sourceforge.netBetreff: [edk2] Source-level-debugging (NT32 + MS Visual Studio 2010) > > Hello, > > I set up my UEFI Build-environment as described here: > http://uefi.blogspot.de/2012/06/how-to-debug-edk2s-windows-hosted-uefi > .html > > I’m using Microsoft Windows 7, 64Bit together with MS Visual Studio > 2010 Premium. > Right now I’m able to build the NT32-package and include some own > packages in the build-process, adding them to the Nt32Pkg.inf-file. > But I’m not able to get the source level debugging working for other > modules than NT32. > > When I start SecMain.exe out of Visual Studio and break it during > executing the Shell I can step through the code in Visual Studio. > But if I add the expression __debugbreak() into the > HelloWorld.efi-application and rebuild everything, the Breakpoint is cached after I start NT32 and run Helloworld.efi in the shell. But no sourcecode is shown. > The console throws the following message: > WARNING: No source level debug d:\edk2\Build\NT32\DEBUG_VS2010x86\IA32\MdeModulePkg\Application\HelloWorld\Hell oworld\DEBUG\HelloWorld.DLL. > > The pdb-files are generated and the header-information in the > .efi-file to locate the correct pdb-file is also right. > Any idea where to look or what to change to get the source level > debugging working for my own modules? > > Regards, > Michael > Hi Michael, Did you get to the bottom of this? Regards, Martin ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel