Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs+geben how do I open a file to put breakpoints in it

Tags:

emacs

geben

When I'm debugging code in a framework, it usually goes through a bunch of different calls in different files before actually getting to the file I want to investigate. Is there a way to open the file I want when I start geben, put the breakpoint in that file then tell geben to run (press g)?

Otherwise I have to keep stepping over/into until geben finally get's to the file I want, at which point I can then go to the line I want and set the breakpoint.

like image 548
Silfheed Avatar asked Feb 28 '12 00:02

Silfheed


1 Answers

C-cf runs geben-find-file

IIRC, geben must already be in an active debugging session for that function to work; but once set the breakpoints are persistent, so it's not too onerous.

geben-breakpoint-menu menu is very convenient for setting conditionals, if you hadn't noticed that.

like image 87
phils Avatar answered Sep 21 '22 18:09

phils