syslog

Sysprogs forums Forums VisualGDB syslog

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27355
    ankumarank
    Participant

    Hi,

    We are using Visual GDB for debugging an C++ application that runs on a Linux board. Recently, we converted all the log messages in our Application to syslog messages. From then onwards, the gdbserver and output window’s of Visual Studio, stopped showing the current running log messages. Could you let me know how can we get those messages in the gdbserver or output window?

    #27360
    support
    Keymaster

    Hi,

    You can override the remote console shown by VisualGDB when debugging your project via VisualGDB Project Properties -> Custom Debug Steps -> Remote Console.

    This will launch an arbitrary command (e.g. tail -f /var/log/syslog) that will completely replace the regular program output (when running gdb directly) or add an extra output window with the output from the command (when using gdbserver).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.