Attach to process

Sysprogs forums Forums VisualGDB Attach to process

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37024
    lashmuelE
    Participant

    Hello,

    i Build my project using Visual studio 2017 and VisualGDB to create Linux application

    What is the correct way using the attach to process if possible on that linux machine from visual studio?

    best regards

    Shmuel

    #37025
    support
    Keymaster

    Hi,

    There are 2 ways to attach to a process from VisualGDB:

    1. Using the regular Debug->Attach command in Visual Studio. We have a tutorial here demonstrating how to do it.
    2. You can also configure the project to automatically attach to an existing process instead of launching a new one via VisualGDB Project Properties -> Debug Settings. This way, you can retain other project-specific settings like path mappings, or additional GDB commands.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.