Debugging vlc using msys/mingw on Windows

This forum is about all development around libVLC.
Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Debugging vlc using msys/mingw on Windows

Postby Belbear » 27 Apr 2010 14:30

I'm successfully building vlc now using msys native windows compiling. (up to the 1.2.0-git version)

I'm now moving up to what it's all intended for: Writing a video output plugin that outputs video on my own BlueMotion layered graphic software that runs on Bluefish444 HD-SDI video cards. This toolkit is built using MFC-C++ using MS visual C++ 6 (ok, you linux :geek: :geek: will :lol: now, but it's my home world for developing)

Now I'm only having those msg_Err and msg_Dbg functions at my disposal, so finding errors in the vlc plugin code will be difficult.
Especially when vlc crashes, taking the whole "messages" window down before I can read anything.
Therefore I wish to ask if real debugging with breakpoints, memory examination and single-stepping is possible with an msys setup. I find no info whatsoever on debugging on the videolan site.

If possible, can anyone tell me what I need to have and know, to debug from the msys console or maybe there is a GUI debugger?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Debugging vlc using msys/mingw on Windows

Postby Jean-Baptiste Kempf » 27 Apr 2010 14:38

run gdb inside MSys console.

Or use QtCreator.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests