Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17241 Discussions

Debugging with the Nios II 14.0 Software Build Tools

Altera_Forum
Honored Contributor II
1,076 Views

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 )
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
334 Views

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.

0 Kudos
Reply