Jan. 15th, 2014

izard: (Default)
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

October 2025

S M T W T F S
   1234
567891011
12131415161718
19202122232425
26 272829 3031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 31st, 2025 05:34 pm
Powered by Dreamwidth Studios