Breakpoints not working in hg.

John W. Eaton jwe at bevo.che.wisc.edu
Tue Apr 1 12:51:55 CDT 2008


On  1-Apr-2008, Ryan Rusaw wrote:

| Breakpoints don't seem to be working correctly in mercurial. With this
| simple function:
| 
| function test_func()
|        disp("Hello")
| endfunction
| 
| octave:1> dbstop("test_func","2")
| ans =  2
| octave:2> dbstatus
| Breakpoint in test_func at line(s) 2.
| octave:3> test_func
| Hello
| octave:4>
| 
| No breakpoint is encountered.
| 
| Note: version 3.0.0 hits the breakpoint correctly, and brings up the
| debug console prompt.
| 
| octave:1> dbstop("test_func","2")
| ans =  2
| octave:2> dbstatus
| Breakpoint in test_func at line(s) 2.
| octave:3> test_func
| test_func: line 2, column 2
| disp
| keyboard: stopped in
| /media/KINGSTON/runtime-net.sf.octclipse.rcp.product/octave_test/test_func.m
| at line 2
| debug>

Please try the following patch.

jwe

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080401/0afe38eb/attachment.ksh 


More information about the Octave-maintainers mailing list