This is the mail archive of the ecos-discuss@sources.redhat.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: ASSERTS & TRACING quit working


"Trenton D. Adams" wrote:
> 
>   >
>   > Nope. You did enabled CYG_INFRA_DEBUG which is the parent
>   > option, right?
> 
> Yes, in the Windows config tool it's called "Asserts & Tracing".

And you enabled the individual option underneath that?

> I've enabled Asserts & Tracing just the way I did before.  The only
> problem is this time it's not working.
> 
> Also, I don't actually need to call CYG_TRACE_PRINT () whenever I want
> it to output what I've traced so far right?  If so, how come I didn't
> need to do this before?

Depends on the configuration of the tracing system, for example with
buffered tracing but CYGDBG_INFRA_DEBUG_TRACE_BUFFER_PRINT disabled (which
it is by default) you won't see anything unless you explicitly ask for it.
 
> Is there some debug option somewhere that I need to enable for
> CYG_ASSERT and CYG_TRACE to actually create some code?  I know in MFC
> for Windows I need to have it in debug mode.  As far as I know it's
> supposed to be in debug mode by default, no?

-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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