[vlc-devel] [PATCH] libvlc: dump object types abd names when leaking
ssbssa at yahoo.de
Fri Feb 22 14:45:11 CET 2019
Am Freitag, 22. Februar 2019, 07:43:50 MEZ hat Steve Lhomme <robux4 at ycbcr.xyz> Folgendes geschrieben:
> 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.
>From what I can tell, there's a difference between msvcrt.dll and
ucrtbase.dll, it's not really depending on the debugger (try the attached
test program in both debuggers to compare).
Also, if I have to debug an assertion failure in gdb, I set a
breakpoint on ExitProcess, that always works for me.
> 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.
I agree that gdb is very slow with many DLLs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel