meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

peerhood:debug [2011/09/02 12:05] (current)
Line 1: Line 1:
 +====== PeerHood debugging development facility ======
 +
 +==== Objectives ====
 +  * Threading management. Management of debug messages should be separated in threading, so that messages does not overlap each other. Debug macros are in practice used everywhere in code, so when using simple locking strategy implicit serialization of execution would happen.
 +  * Control of debug output by [[module|modules]]. Usually development focus into certain module and non related debug tracing output is nuisance for developer.
 +
 +==== Current situation ====
 +Along the code DBG and ERR macros are used. On most files the target is defined by themselves, usually into syslog. There is not common control about debugging messages target. Syslog is not indeed suitable for development purposes.
 +
 +==== Questions ? ====
 +  * [[software:​eclipse|Eclipse]] support for debug output ?
 +
 +===== Related debugging implementations =====
 +  * [[http://​libcwd.sourceforge.net/​]]
 +