This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Debugging techiques


Thanks. It works.
I think that it is useful to include in documentation more detailed
description
of the debugging techniques.

Boris Guzhov

>
>If you want all tracing to be printed immediately, change the
>implementation from buffered to "simple" or "fancy", i.e. disable
>CYGDBG_INFRA_DEBUG_TRACE_ASSERT_BUFFER in the infra package and enable e.g.
>CYGDBG_INFRA_DEBUG_TRACE_ASSERT_FANCY.
>
>Other CDL options in this area may be of interest, such as the buffer size
>etc.
>
>> How to use Function Tracing (CYG_REPORT_FUNCTION() and others)?
>
>You mean in your own functions? Have a look at the header file
>infra/VERSION/include/cyg_trac.h in your component reposistory. There's
>plenty of comments at the top. Eventually we want to get this in the
>"proper" documentation, but we haven't yet.
>
>Jifl
>--
>Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
>"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]