Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am basically a Java Developer who has mainly worked in Web Development. Recently I got assigned to a project where I am suppose to head a team developers for working on developing eclipse debugger which can debug an embedded application running on a hardware board.

Our embedded team uses ECLIPSE CDT, which in turn used the GDB Debugger to debug any remote embedded application. I am totally lost on how to start this project the possible options which I can think of are as following.

  1. Try to Develop a debugger from scratch
  2. Develop a GBD sprite and somehow make eclipse cdt-gdb recognize it and able to debug our board.
  3. Extend the CDT debugger, so that we can get more custom views. But we will need GDB sprite also in this case.

Any help/guidance on what approach to follow is highly appreciated.

Thanks in advance Kaushik

share|improve this question

1 Answer 1

You need to check out the Eclipse debugger framework .

If i understand you clearly what you really need is to develop an eclipse plugin debugger which is capable of being able to debug your scripts . If this is what you want then you surely dont need to start from scratch . You MUST make use of the framework that eclipse itself provides rather that re-inventing the wheel .

This article How to make eclipse debugger plugin is an excellent example to how to be able to start making an eclipse debugger . You must understand the communication that happens between the eclipse framework and the sample interpreter ( see the link ) .

Once you understand the flow you will see that majority of the effort needed is in adding debug brain to your interpreter/compiler . The eclipse framework is robust and will need minimal customizations (if any ) . You will get to know the algorithm that should exist in your customized debugger . Its no easy task but not impossible either .

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["        <li><a href=\"http://area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"http://careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.8.26.1797\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Stack Overflow works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r\n    </nos"], "copyright__copyright__copyright": ["effort needed is in adding debug brain to your interpreter/compiler . The eclipse framework is robust and will need minimal customizations (if any ) . You will get to know the algorithm that should exist in your customized debugger . Its no easy task but not impossible either .\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}