Sysprogs forums Forums VisualGDB syslog

This topic contains 1 reply, has 2 voices, and was last updated by  support 6 months ago.

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



    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?




    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.