Editing Building on Ubuntu Virtual Machine
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 46: | Line 46: | ||
$ ./run-octave --gui | $ ./run-octave --gui | ||
>> system (sprintf ("gnome-terminal --command 'gdb -p %d'", getpid ()), "async"); | >> system (sprintf ("gnome-terminal --command 'gdb -p %d'", getpid ()), "async"); | ||
Apply a breakpoint at the function edit_variable (which will be hit in another thread from the current one, so apply breakpoint for all threads). | |||
(gdb) thread apply all break variable-editor.cc:1154 | |||
(gdb) thread apply all break | Continue. | ||
>> a = [1 2] | >> a = [1 2] | ||
In Octave, double click on the variable ‘a’. Now gdb should be at the breakpoint. Now backtrace 10 to show the calling information: | |||
(gdb) backtrace 10 | (gdb) backtrace 10 | ||
Apply a breakpoint at the function variable_editor_model::create (which will be hit in another thread from the current one, so apply breakpoint for all threads). | |||
(gdb) thread apply all break variable-editor-model.cc:928 | |||
(gdb) | |||
= Save and Patch = | = Save and Patch = | ||
: 8. Save your work and send patch. | : 8. Save your work and send patch. |