izard: (Default)
[personal profile] izard
My favorite debugging method is to insert as many printf's as possible everywhere.... (That is a terrible confession to make, but I am obviously guilty). Besides obvious drawbacks, one thing that bugs me most is that I have to change/insert/delete printf, rebuild, re-deploy, re-run.

Today I've found that Windriver workbench has a nice feature - dynamic printf. It saves recompile-redeploy-rerun step, and allows inserting printfs to an application running on an embedded target. Seems Lispy a bit, brings one of REPL advantages to low level C development. See how it works at 3:46 in the video: http://vimeo.com/40272483.

Profile

izard: (Default)
izard

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22 23242526 2728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 1st, 2025 03:28 am
Powered by Dreamwidth Studios