Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Debugging with the Nios II 14.0 Software Build Tools

I am unable to debug in the Nios II 14.0 Software Build Tools for Eclipse environment. Attempting to do so produces these messages:'launching ... configurtion' has encountered a problem.

error starting gdbserver - see console for details.

There is no information in the console window. I am surprised that there is reliance on gdbserver, as my embedded project is not Linux-based.

I have set STDIN, STDOUT, and STDERR to the JTAG UART. A Terasic Blaster is the only connection between my PC and my Altera development board (i.e., no Ethernet). Are any of these facts interfering with debugging?

TIA for any help )

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I discovered that if I open a "Nios II 14.0 Command Shell" and run eclipse-nios2.exe from the resulting Cygwin bash shell, then Eclipse is able to start gdbserver and run the debugger in the "Nios II Debug" perspective correctly. Previously, I had been using the "Nios II 14.0 Software Build Tools for Eclipse" shortcut installed in the Start menu by the Altera installer and encountered the gdbserver problem that I reported. I have automated this startup sequence for SBT for Eclipse and will settle for that.