How to use Eclipse to debug mex files?
8 次查看(过去 30 天)
显示 更早的评论
For all those Linux users (like me) who are not content using gdb's command line interface and would prefer to use a modern IDE for debugging, is it possible to get Eclipse to function as a debugging tool for Matlab mex files? I have been able to successfully run gdb in the Eclipse console and execute compiled mex functions, but I can't figure out how to get Eclipse to display variables from gdb or step through the source code, etc. Has anyone else been successful with this?
回答(2 个)
Jan
2013-6-19
编辑:Jan
2013-6-19
Did you ask an internet asearch engine before asking the forum? This is recommended to save the resources of the contributors. See http://www.lmgtfy.com/?q=Matlab+debug+Eclipse:
- http://www.eclipse.org/forums/index.php/t/58274/
- http://undocumentedmatlab.com/blog/matclipse-eclipse-matlab-interface/
- http://stackoverflow.com/questions/14471276/is-it-possible-to-debug-mex-code-with-eclipse
- etc
Please do not cross-post questions in different forums without including links to the other questions. It would waste the time of the voluntary helpers, if they post an answer given in another forum already.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!