Raspberry Pi 5

Sysprogs forums Forums VisualGDB Raspberry Pi 5

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36287
    roujesky
    Participant

    I successfully built and ran the tutorial “Developing a Raspberry PI app with Visual Studio”.  The text goes to the output window of vs.   How would I make the output go to to a terminal on the RPI?    I see under properties that I can set it to “A terminal on the target’s screen”, but I dont see any output.

    Also, where does vgdb put the executable?

     

    thanks!

    #36298
    support
    Keymaster

    Hi,

    You would need to run the built executable directly from the target’s terminal to see its output there. The setting controlling the output only affects the X11 window forwarding; the regular text output from the program always goes to VisualGDB when debugging it with VisualGDB.

    The path on the target depends on whether you are building the code directly on target, or using a cross-compiler. The easiest way to find out is to open VisualGDB Project Properties, click the variables hyperlink in the bottom, and check the value of $(DeploymentPath) and $(TargetPath). Depending on your project configuration, one of these will contain the executable’s path on the target.

     

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