"Fossies" - the Fresh Open Source Software Archive

Member "Pansophica-src-1.3/BAF_modules/doc/README_debug" (10 Apr 2007, 681 Bytes) of package /linux/www/old/Pansophica-src-1.3-1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 + start
    2 
    3 ddd prog_name
    4 
    5 + enter the following in the gdb window at start
    6 
    7 handle SIGUSR1 nostop pass noprint
    8 handle SIGUSR2 nostop pass noprint
    9 
   10 + put a breakpoint after the debug_module has been allocated.  Good
   11 place is right after 'welcome to chris!'
   12 
   13 + run to the breakpoint
   14 
   15 + set the value of debug_module
   16 
   17 set debug_module="<module-name>" ( ie "br_som" )
   18 
   19 + set a breakpoint at endo_msg_get_next_debug( &queue_msg ).  May want
   20 to remove this later ... may not be needed ...
   21 
   22 + set a breakpoint right after the while loop of message
   23 handling. It's inside DEBUG_MODULE_LOOP define, inside while
   24 (keep_running ).  The biggie that we want is endo_msg_process(
   25 queue_msg ) ...
   26 
   27