This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM385: Debugging the wis-streamer application

Part Number: DM385

I would like to be able to step through the wis-streamer application; in particular, I would like to use gdb to set and stop at breakpoints in GetAVData and VideoOpenFileSource::readFromFile, but the debugger does not seem to want to do so.  I'm wondering if this is because of the way wis-streamer is linked with the liveMedia and Appro_interface libraries.  Any advice?

  • Hi John,

    What do you want to debug GetAVData or VideoOpenFileSource::readFromFile?

    GetAVData is API of Appro interface. So you can not debug it with wis-streamer.

    Regards,
    Prashant
    Pathpartner Technology Pvt. Ltd.

  • I wanted to step through both to see how data gets pulled from the shared memory buffer by the RSTP server.  I finally realized that the reason why I wasn't stopping at my breakpoints was very simple: I had not started a client to call for data, so the code was never being invoked.  Once I revised the Makefiles to make sure the Appro interface was build with symbols (and invoked a client), I was able to step through the code.  Note: Your statement is incorrect: you can only debug the Appro interface from wis-streamer, since it is linked as a static library by wis-streamer to communicate with the McFW.