[vlc-devel] [PATCH] libvlc: dump object types abd names when leaking
Steve Lhomme
robux4 at ycbcr.xyz
Fri Feb 22 07:43:27 CET 2019
Not only gdb+qt is a bad combination (you either choose to get 20 breaks
at each run or break on legit asserts) but it's not the worst part.
VLC has hundreds of DLLs and loads tens of them just to play a file
(that's when you have plugins cache working). For every DLL loaded gdb
tries to load the symbol. In worst cases (if you happen to set more than
2 breakpoints) it can take 1s per DLL on my super fast machine (and all
other machines I've used in the past years). Making debugging any line
change a nightmare. Let alone the code that times out because the
debugger didn't finish loading some other parts.
MSVC has none of these issues, it's very fast to load and you can put
keep 100 breakpoints and works just as fast.
On 21/02/2019 17:28, Hannes Domani via vlc-devel wrote:
>
> Subject:
> Re: [vlc-devel] [PATCH] libvlc: dump object types abd names when leaking
> From:
> Hannes Domani <ssbssa at yahoo.de>
> Date:
> 21/02/2019 à 17:28
> To:
> Mailing list for VLC media player developers <vlc-devel at videolan.org>
>
> To:
> Mailing list for VLC media player developers <vlc-devel at videolan.org>
>
>
> Am Donnerstag, 21. Februar 2019, 12:56:02 MEZ hat Steve Lhomme
> <robux4 at ycbcr.xyz> Folgendes geschrieben:
>
> > No because some people are refusing to support building with MSVC.
> > Things will hopefully change when we can generate usable PDB files with
> > CLang.
>
> Just out of curiosity, how would MSVC improve this kind of situation?
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list