[Clam-devel] Re: adding the documents to the scheme of SilenceDetector

JunJun wangjun at dsp.ac.cn
Tue May 27 05:35:50 PDT 2008


I'm not quite clear now, but here is a debugging patch(see FillDescriptionScheme_dump_debug.patch), where I tried :
"schema.FillDescriptionScheme(descriptionScheme);"
and then..
"CLAM::XMLStorage::Dump(descriptionScheme, "DescriptorsScheme", std::cout);"
It outputs an error. (see debug_5_27.txt)

Yet if I comment out that line "schema.FillDescriptionScheme(descriptionScheme);", there is no error(see debug_5_27_20_25.txt).

One more important question is: what's the convenient way of you to debug the code? My way with std::cout << "X" << std::endl is clumsy. The "scons /src/SilenceDetector" just do the compiling job rather than linking. What's more, if I changed any code apart of /SilenceDetector, must I recompile all of the annotator code again? 

----- Original Message ----- 
From: "David García Garzón" <dgarcia at iua.upf.edu>
To: "JunJun" <wangjun at dsp.ac.cn>
Cc: <clam-devel at llistes.projectes.lafarga.org>
Sent: Tuesday, May 27, 2008 8:12 PM
Subject: Re: adding the documents to the scheme of SilenceDetector

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FillDescriptionScheme_dump_debug.patch
Type: application/octet-stream
Size: 1786 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080527/ad3d1597/attachment-0003.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug_5_27_20_25.txt
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080527/ad3d1597/attachment-0006.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug_5_27.txt
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080527/ad3d1597/attachment-0007.txt>


More information about the clam-devel mailing list