From: Dan B. <db...@gm...> - 2012-02-22 22:07:55
|
Thanks for the response! I mostly remember my breakpoints, so I guess I'm mostly a good programmer! But in the case where you are setting and clearing breakpoints through GUD, shouldn't it be easy for GUD itself to keep track of which lines you have set breakpoints on? Especially since breakpoints are cleared every time you save. Even if you set breakpoints through dbstop commands in the matlab shell, it should still be able to keep track. Is there something about this that makes it much harder than it seems? Dan On Wed, Feb 22, 2012 at 7:21 AM, Eric Ludlam <Eri...@ma...> wrote: > 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 -- Dan Becker |