Activating the trace

Activating the trace

Bild des Benutzers Nicolas

I have created a CnC program which compiles and terminates.
However the execution output is wrong and I wanted to debug the tags creation by activating the trace.

In the "User Guide for 0.5.x" section 1.10.1 I read I should uncomment the CnC::debug line in the xxx_codinghints.txt.
I tried that unsucessfully.
I also explicitely put the debug step in my .cpp code without success.

I did the same on the cholesky example in the samples directory and still fail to activate the trace.

Any idea ?

Thanks,

N

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Chih-ping Chen (Intel)
Quoting Nicolas I have created a CnC program which compiles and terminates.
However the execution output is wrong and I wanted to debug the tags creation by activating the trace.

In the "User Guide for 0.5.x" section 1.10.1 I read I should uncomment the CnC::debug line in the xxx_codinghints.txt.
I tried that unsucessfully.
I also explicitely put the debug step in my .cpp code without success.

I did the same on the cholesky example in the samples directory and still fail to activate the trace.

Any idea ?

Thanks,

N

Thank you for using CnC, Nicolas.

Could you tell me which OS (Windows or Linux) you are working on? If possible, please also give me the code that surrounds the CnC::debug::trace call.

-Chih-Ping

Bild des Benutzers Nicolas

Chih-Ping,

Thanks for your reply. Actually the problem is now solved, it seems it was also related to my using a pointer to a class for tags (see my other post).
I have now reverted back to vector for tags and the trace works fine.

Melden Sie sich an, um einen Kommentar zu hinterlassen.