>--enable-trace will only make VLC a lot slower by creating a huge log >file of what's done. For gdb you should just need --enable-debug, >which adds -g to CFLAGS. You will probably need >--disable-optimizations too, because optimizations can confuse the >debugger sometimes.