[vlc-devel] [PATCH] libvlc: help debug object references remaining in debug builds

Rémi Denis-Courmont remi at remlab.net
Fri Aug 17 13:26:47 CEST 2018

Before you had to cast and offset the pointers. And now you have to cast and offset the pointers. It's the same tedious process.

And it does not take one hour to open the objects tree dialog.

Le 17 août 2018 09:41:55 GMT+03:00, Steve Lhomme <robux4 at ycbcr.xyz> a écrit :
>On 16/08/2018 18:45, Rémi Denis-Courmont wrote:
>> Le torstaina 16. elokuuta 2018, 18.20.07 EEST Steve Lhomme a écrit :
>>> Now with vlc_list
>> It is tedious in debugger due to offset LIKE BEFORE.
>No, before we could follow internals->first in the debugger. Now it's 
>hidden in an opaque list with no type and hidden behind macros.
>> It is trivial in self debugging LIKE BEFORE.
>> In other words, vlc_list makes literaly no difference.
>>> it's impossible to see anything with the debugger.
>> You cannot be serious.
>I spent one hour trying to decypher the API and how it should be used,
>never manage to produce anything out of internals->children. Let alone 
>internals->siblings which just had garbage in it. I tried 
>vlc_list_foreach(), vlc_list_first_entry_or_null() no luck.
>It took me 5 minutes to undo this commit and find my leak.
>> -- 
>> Реми Дёни-Курмон
>> http://www.remlab.net/
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:

Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180817/bdb35d01/attachment.html>

More information about the vlc-devel mailing list