attaching to a remote process

Sysprogs forums Forums VisualGDB attaching to a remote process

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #886
    hcroyl
    Participant

    I am trying to attach to a running process on my android device. (galaxy note 3)
    (connected to PC via usb and also connected to same network using wifi in case it matters)

    Followed your instructions: (http://visualgdb.com/tutorials/linux/attach/)
    but trying to attach my own process which is currently running and i have its process id.
    I clicked on: debug->attach to process -> chose VisualGDB.
    for qualifier i clicked on – Find, then “A linux application running on a remote computer”
    I would appreciate some help as to what exactly i should do here, because nothing seems to work.
    i tried creating a new SSH session, but still not sure exactly what should be the host? user name? password? (tried quite a few different combinations none seemed to work)
    when i type: adb shell su in cygwin i get: root@hltespr
    so i figured maybe username is root and host is hltespr (similar to what you had here http://visualgdb.com/gdbreference/commands/attach )

    Would appreciate some help.
    Thanks.
    Roy.

    #3336
    support
    Keymaster

    Hi,

    Are you trying to attach to a native tool or an Android App?

    #3337
    hcroyl
    Participant

    I am trying to attach to an android app.

    #3338
    support
    Keymaster

    Hi,

    If you want to attach to an app, please use the ‘Debug Custom APK’ command and select ‘attach to an existing instance’ when prompted.

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