Unable to debug when more than one device is connected

Sysprogs forums Forums VisualGDB Unable to debug when more than one device is connected

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #537
    g4m3c0d3r
    Participant

    When I have more than one Android device connected to my host machine and I attempt to debug, VisualGDB looks like it understands and prompts me to select the device I want to use, but right after asks it errors out with a “Cannot query process list from the Android device”. Here’s the ADB log:

    C:NVPACKandroid-sdk-windowsplatform-toolsadb.exe devices
    List of devices attached
    b19834d4	device
    D02505042143008V	device
    C4F12771EEDBCAE	device
    0A3BBFB20B00E007	device
    0AD6000600000001	device
    Command exited with code 0
    C:NVPACKandroid-sdk-windowsplatform-toolsadb.exe shell ps
    error: more than one device and emulator
    Command exited with code -1
    

    Shouldn’t it be passing the serial number to adb.exe using the “-s serial_num” command line option? I have both ADB_SERIAL and ANDROID_SERIAL environment variables set to the device I’d like to use. Unplugging all but one device works. I’m using NDK r8e and SDK platform tools 21.1. Thanks!!

    #2316
    support
    Keymaster

    Hi,

    That`s a known bug of VisualGDB 3.0. Please download the 3.1 Beta 1.

    #2315
    g4m3c0d3r
    Participant

    @bazis wrote:

    Hi,

    That`s a known bug of VisualGDB 3.0. Please download the 3.1 Beta 1.

    That fixed it! Thanks much! 😀

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