<div dir="ltr"><div dir="ltr">Thanks for the helpful response ^_^</div><div dir="ltr"><br><div>Directly altering the code in the base, maybe I am not that much ready I guess.</div><div><br></div><div>I think making a small introduction in the documentation for newcomers to MacPorts community to get a really easy high level understanding on how the MacPorts code flows to get trace mode working, is that a good idea? Maybe coz I went through the same phase last few days.. <a class="gmail_plusreply" id="gmail-plusReplyChip-1" href="mailto:mojca@macports.org" tabindex="-1">@Mojca Miklavec</a> </div><div><br></div><div><a class="gmail_plusreply" id="gmail-plusReplyChip-4" href="mailto:mcalhoun@macports.org" tabindex="-1">@mcalhoun@macports.org</a>  I have been surfing through the code, I can actually explain 50% I guess on how it works.</div><div><br></div><div>I am still halfway through tcl tutorial, but because I was now understanding how it switched from tcl code to C code, I started looking over it first.</div><div><br></div><div>Here a small flow of my understanding-></div><div>ports.tcl (if -t then global_options(ports_trace) = yes).  </div><div>—>  macports.tcl(set porttrace) </div><div>—> porttrace.tcl(calling tracelib, and loading Darwintrace lib by DYLD_INSERT_LIBRARIES)</div><div>—> tracelib is defines in C code as function(TraceLibCmd) which is interfaced to be a tcl command through Pextlib.c by the Tcl C api TclCreateObjCommand.</div><div><br></div><div>Although the C code is much relieving to read but still I am new to sockets. I read its basics to get pretty much familiar.</div><div>As per the plan, to provide cache storage for the data being received from the server component, I still need a better understanding on this.</div><div><br></div><div>It would be great if you could provide me with some efficient learning way further from here…</div><div>and should I focus on tcl or the Darwin C library code is my working place?</div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>Mihir</div><div><br></div></div></div>