Using debug()

Geoffrey Leach geoff at hughes.net
Fri Dec 27 01:13:37 UTC 2013


Hello again, Festus.

The version is 1.9.1

My goal is to use debug() within taglib, to make it easier to understand the taglib internals in order to debug problems with Audio:TagLib.  Sure, std::cerr << ..." is possible. But I'm lazy.

I did rebuild with your suggested cmake command, but nothing changed. The library is not stripped, but nm finds no debug symbol.

Regards,

On 12/26/2013 04:36:21 PM, Festus Hagen wrote:
> Hi Geoff,
> 
> taglib version would be helpful.
> 
> 
> What is your goal, 
> 
> 1. To use debug() within taglib.
> 2. To use taglib's debug() within ATL's xs modules.
> 3. To write a xs module to use it within ATL's tests.
> 
> IIRC, taglib's debug() is technically for taglib's internal use,
> though I 
> believe with a little work it can be used outside taglib (I have not 
> tried this).
> 
> I suspect your cmake is more like:
> cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local
> -DCMAKE_BUILD_TYPE=Debug ., should be good.
> 
> 
> Have you checked the resulting binaries for debug symbols. Size is my
> quick check.
> -Enjoy
> fh : )_~
> 
> 
> 
> 
> ----- Original Message -----
> From: Geoffrey Leach <geoff at hughes.net>
> To: taglib-devel at kde.org
> Cc: 
> Sent: Wednesday, December 18, 2013 4:59 PM
> Subject: Using debug()
> 
> I'm the maintainer of the Perl interface to taglib, Audio::Taglib.
> 
> In the course of writing new tests for the Perl module, it would be
> helpful to me to be able to use the debug() function. I've configured
> with cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Debug
> ., but to no avail. 
> 
> Could someone enlighten me? Thanks.
> 
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
> 
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
> 




More information about the taglib-devel mailing list