Cannot start GDB: Target Machine Actively Refused It

Sysprogs forums Forums VisualGDB Cannot start GDB: Target Machine Actively Refused It

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12366
    CurtisHx
    Participant

    I’m having a problem getting GDB to start on an NRF52832 project. I’m using the NRF52832 dev kit. This was working several weeks ago, now I get the following GDB error whenever I try to launch the debugger. This is on Windows 10 with Visual Studio 2015.

    target remote :2331
    &”target remote :2331\n”
    &”:2331: No connection could be made because the target machine actively refused it.\n”
    :2331: No connection could be made because the target machine actively refused it.
    qt: Failed to connect to the debug stub

    at v.o(String a, rg b)

    at v.p2(IEnumerable`1 a, Boolean b)

    at v.i1_2(DebugCustomizationSettings a)

    at vj.b2()

    at VisualGDB.GDBDebugEngine.d1(rw b, a a)

    #12369
    support
    Keymaster

    Hi,

    Please check the GDB stub output (e.g. Segger GDB stub) via Debug->Windows->GDB Stub. It should contain detailed information about the error.

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