[vlc-devel] [PATCH] libvlc: dump object types abd names when leaking
Rémi Denis-Courmont
remi at remlab.net
Thu Feb 21 17:54:48 CET 2019
Le torstaina 21. helmikuuta 2019, 18.33.26 EET Jean-Baptiste Kempf a écrit :
> On Thu, 21 Feb 2019, at 12:49, Rémi Denis-Courmont wrote:
> > So... You say that your debugging environment sucks.
>
> Yes. Not everyone has the luxury to have a platform that works perfectly.
>
> VLC is not a Linux-only project. This was never the goal and will never be
> the goal.
I don't really want to here that from mobile or desktop developer. In embedded
development, we sometimes don't have anything, not even a serial port to print
to.
But I don't put ad-hoc debug print statements in an ad-hoc place. In the rare
case that the debug prints are complex and clean enough that I don't want to
rewrite them everytime, I git-stash them away.
Or if they're potentially useful to somebody else, I surround them by #if 0 or
equivalent. That is not exactly original. Also what BD, dvdnav, TTML, etc,
plugins already do.
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the vlc-devel
mailing list