From: Eric L. <Eri...@ma...> - 2012-02-22 14:22:03
|
The basic version of gud that integrates in a lot of basic command-line debuggers doesn't support stop sign icons. There is a special version of gdb w/ gud that does support the stop signs, but it depends on features in gdb to work. Older versions of MATLAB supported an API we used to use to show stop signs for MATLAB debugging, but when those undocumented APIs changed, we lost that feature. The philosophy is that good programmers can remember where they put their breakpoints, the same way good programmers in Emacs can remember where they set the mark, but I think it is mostly just that it's hard to implement against a random debugger sub-process that doesn't support triggers. Eric -----Original Message----- From: Dan Becker [mailto:db...@gm...] Sent: Wednesday, February 15, 2012 3:46 PM To: mat...@li... Subject: [Matlab-emacs-discuss] How can I get emacs to display a stop-sign icon when I set a breakpoint? (I also posted this question on Stackoverflow, so feel free to answer there if you like) I'm running emacs 23.4 on OSX, obtained from emacsformacosx.com. I'm writing matlab code, using the latest code from matlab-emacs.sourceforge.net. I can set breakpoints and step through matlab code with no problems. However, when I set breakpoints, no "stop-sign" icon appears next to the lines that have breakpoints. The arrow icon indicating the line on which you are stopped *does* appear. I've seen emacs screenshots online that show stop-sign icons, but I can't find any GUD documentation on this. How can I get these icons to appear? Is this a problem with matlab-mode, or something in my setup? Thanks, Dan -- Dan Becker ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |