public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Curious question regarding lack of debug in MdeModulePkg
@ 2017-09-08  2:52 david moheban
  2017-09-08  3:12 ` Marvin Häuser
  0 siblings, 1 reply; 2+ messages in thread
From: david moheban @ 2017-09-08  2:52 UTC (permalink / raw)
  To: edk2-devel

Hi,

Was trying to figure out why I could not output debug messages with a
simple driver using the Debug macro compiled against the MdeModulePkg until
I discovered that the same driver code works when compiled against Nt32Pkg
and all my debug messages get posted in the debug console. Would anyone
happen to know why?

Thank you


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Curious question regarding lack of debug in MdeModulePkg
  2017-09-08  2:52 Curious question regarding lack of debug in MdeModulePkg david moheban
@ 2017-09-08  3:12 ` Marvin Häuser
  0 siblings, 0 replies; 2+ messages in thread
From: Marvin Häuser @ 2017-09-08  3:12 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: david moheban

Hey,

Did you make sure you use the proper DebugLib instance in your .dsc (or if you build MdeModulePkg directly, adapted its)? You likely want UefiDebugLibConOut.
Also make sure you enabled the necessary debug levels via PCD.

Regards,
Marvin.

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> david moheban
> Sent: Friday, September 8, 2017 4:53 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] Curious question regarding lack of debug in MdeModulePkg
> 
> Hi,
> 
> Was trying to figure out why I could not output debug messages with a
> simple driver using the Debug macro compiled against the MdeModulePkg
> until I discovered that the same driver code works when compiled against
> Nt32Pkg and all my debug messages get posted in the debug console. Would
> anyone happen to know why?
> 
> Thank you
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-08  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08  2:52 Curious question regarding lack of debug in MdeModulePkg david moheban
2017-09-08  3:12 ` Marvin Häuser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox