[vlc-devel] [PATCH] libvlc: help debug object references remaining in debug builds
robux4 at ycbcr.xyz
Fri Aug 17 08:41:55 CEST 2018
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, I
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.
> Реми Дёни-Курмон
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel