I have a DEBUG macro call DEBUG((DEBUG_INFO, ........
In a DEBUG build, the string appears in the serial console, while in RELEASE
build it does not.
Does anyone know why this is the case?
PcdDebugPropertyMask and PcdDebugPrintErrorLevel
are set correctly, otherwise I shouldn't see the string in a DEBUG build. What
is causing a behavior difference between DEBUG and RELEASE builds?
I have tried this in my DSC with no luck:
BpCommonPkg/Restricted/Universal/JpegDecoderDxe/JpegDecoderDxe.inf {
<PcdsFixedAtBuild>
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
<LibraryClasses>
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
}
I would debug the RELEASE build, but I don't appear to have debug symbols and
can't figure out how to enable debug symbols in a RELEASE build.
I guess I have 2 problems to resolve.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel