From: Van Z. J. <jr...@mi...> - 2010-11-09 16:11:11
|
Im looking for a way to use standard Emacs GUD debugging commands (n, c, r, etc.) for Matlab debugging. Ive downloaded and installed matlab.el. I see the default customization uses GUD mode for Matlab shell mode. Executing a function opens a buffer on the source with the current location marked with an arrow. However, the GUD commands (in either buffer) dont work. I still have to use the verbose Matlab style debugging commands (though alt-P helps). In matlab.el I see some GUD key assignments: (gud-def gud-break "dbstop at %l in %f" "\C-b" "Set breakpoint at current line.") However, they dont seem to work in either matlab-mode or matlab-shell. (They just move point.) The GUD code may have suffered bit-rot (e.g. hasn't kept up with Emacs), but it's more likely I'm doing something wrong. Is there introductory documentation somewhere? Id expect it in the CSV server, or at least a link in the FAQ, but I dont see anything beyond "GUD support for debugging programs files". Otherwise, if "It's working for you", could someone start a debugging session, execute a few commands, run "M-x view-lossage" and post the result? :-) I'm using these versions: matlab.el version 3.3.1 Matlab 7.7.0.471 (R2008b) Emacs 22.2.1 Linux 2.6.32 - Jim Van Zandt |