Forum Discussion
Altera_Forum
Honored Contributor
20 years agoInSight debugger instead of Eclipse debugger
Hi All,
I would like to know if it is possible to use Insight Debugger Tool (which is also GDB based) , instead of eclipse plug-in provided in NIOS2 IDE ? Because I feel that Eclipse plug-in is pretty slow for debugging . More info on insight here : http://sources.redhat.com/insight/ (http://sources.redhat.com/insight/) Any comment is welcomed. Regards.8 Replies
- Altera_Forum
Honored Contributor
It ships as part of the standard GCC toolchain: nios2-elf-insight and/or nios2-debug
I've also used DDD on top of the GDB stuff and it works, as well. Cheers, - slacker - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by slacker@Jul 14 2006, 08:39 AM it ships as part of the standard gcc toolchain: nios2-elf-insight and/or nios2-debugi've also used ddd on top of the gdb stuff and it works, as well.
cheers,
- slacker
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16903)
--- quote end ---
--- Quote End --- Thx a lot Slacker. Just one more question : do you now if the InSight bundled version is the latest one ? Regards http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by bigboss25+jul 14 2006, 11:37 am--><div class='quotetop'>quote (bigboss25 @ jul 14 2006, 11:37 am)</div>--- quote start ---
<!--quotebegin-slacker@Jul 14 2006, 08:39 AM it ships as part of the standard gcc toolchain: nios2-elf-insight and/or nios2-debug
i've also used ddd on top of the gdb stuff and it works, as well.
cheers,
- slacker
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16903)
--- quote end ---
--- Quote End --- Thx a lot Slacker. Just one more question : do you now if the InSight bundled version is the latest one ? Regards http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16912)</div> [/b] --- Quote End --- Finally, one more question http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif Would it be possible to post files as well as a mini "how to" (may be on Wiki) clarifying usage of DDD with NIOS 2. Thx!
- Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- Finally, one more question http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif Would it be possible to post files as well as a mini "how to" (may be on Wiki) clarifying usage of DDD with NIOS 2.[/b] --- Quote End --- Sure, though I don't know that it merits its own section. All that's really involved is pointing the DDD tool at the nios2-elf-gdb. The rest of the usage really is DDD-specific and there are plenty of tutorials available. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by bigboss25@Jul 14 2006, 08:37 AM thx a lot slacker.just one more question : do you now if the insight bundled version is the latest one ?
regards http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16912)
--- quote end ---
--- Quote End --- Insight is, generally, bundled right along with any standard GCC/binutils/gdb toolchain.... Here are the versions that are shipped with Nios II:
Cheers, - slacker1. GCC 3.4.1 2. GDB/Insight 6.1 3. binutils 5.1 - Altera_Forum
Honored Contributor
Dear all,
I don't clear about how to configuration NiosII IDE with Insight Debugger, anyone tell me the detailed information... Thanks very much, David - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by david_cai@Jul 16 2006, 05:13 PM dear all,i don't clear about how to configuration niosii ide with insight debugger, anyone tell me the detailed information...
thanks very much,
david
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16950)
--- quote end ---
--- Quote End --- I don't think it makes any sense to use the Insight Debugger _with_ the IDE. You either use the IDE's built-in debug facilities or the Insight GDB GUI, but not both...in my opinion. There is nothing special about the Nios II implementation of Insight. You should be able to find plenty of information regarding its use on the web. Cheers, - slacker
- Altera_Forum
Honored Contributor
Hi Slacker,
I'm using C++ to develop my project. The problem is when I create a new class, for example: class BufferAllocation { public: alt_u16 *pOutputBuffer; public: BufferAllocation() {} ~BufferAllocation() {} alt_u16* GetBufferPointer(void) {} void ClearBuffer(void) {} }; But when I use this new class, NiosII IDE can't show me it's members automatically. For example, I create an object of BufferAllocation named pBuffer. when I write pBuffer-> no members showed. If in VC, you'll see a list of it members. What's the problem? David