>From: Eric Kler [mailto:[email protected]] 
>Sent: Wednesday, May 22, 2013 6:35 AM
>To: edk2
>Subject: [edk2] What do you use for debugging?
>
>Dear list,
>
>What do you use for debugging your code on real world systems? Is special 
>hardware really necessary, I'm curious what professionals use in this >field 
>and what is the most recommended product. 
>
>So far I have found following options:
>- http://www.windriver.com/products/simics/  (software)-- but I have no idea 
>how much does it cost or if it will be enough for debugging the >firmware 
>(product promo: http://www.youtube.com/watch?v=lYAukMyek9A  )
>- DQ57TM (hardware)
>
>Thanks,
>Eric

On real world systems? Print(). If I'm lucky, I can route it out a serial port 
(AMI-based platforms tend to leave out the SerialIoProtocol.) This is from an 
IHV option rom perspective, so I'm subject to the platforms that are available 
to me. DEBUG() hasn't even been available on most of the systems I've been 
using.

Intel updated their UDK to add the DQ77MK motherboard into the mix, which I'm 
coming up to speed on. I haven't had access to a platform with a DEBUG build 
firmware before, so having DEBUG() and ASSERTs actually do things has been 
quite useful for finding latent bugs that the (effectively) production 
platforms have glossed over. I haven't gotten the source debug capabilities to 
work yet, unfortunately. While I've been able to stop the platform and continue 
it, eXDI is rather unstable and I've found myself needing to reboot if it locks 
up just to get a second go around. It's rather disappointing, given how many 
debug options are available for Windows and Linux.

I have gotten access to some systems with an XDP port and have used Arium's x86 
ITP on them with minor success. I suspect it's more useful when you have full 
source for the target platform. It's of some, limited, use to IHV developers.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to