[Lazarus] Need testers for the a new debugger

C Western l at c-m-w.me.uk
Tue Jul 15 22:27:54 CEST 2014


On 14/07/14 22:13, Joost van der Sluis wrote:
> Hi all,
>
> As I've written before there's a new debugger available for Lazarus.
> (Actually there are two new debuggers, but I'm talking about the new
> gdb-less debugger)
>
> The debugger has been improved a lot and I could need some help testing
> the thing.

Looks promising, but (on current SVN):

an explicit raise Exception.Create causes an assembler window to appear, 
trying to show ../inc/except.inc rather than the source line with the 
raise as the standard debugger does.

I hung lazarus by hitting F4 (step to current line). The backtrace may help:


(gdb) where
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000065747d in INTRTLEVENTWAITFOR (AEVENT=0x7f6544ca5ec0) at 
../unix/cthreads.pp:923
#2  0x00007f65444954c0 in ?? ()
#3  0x0000000000649e41 in RTLEVENTWAITFOR (STATE=0x7f6544ca5ec4) at 
../inc/thread.inc:319
#4  0x00007fff3af7e7a0 in ?? ()
#5  0x0000000001493b5b in EXECUTEINDEBUGTHREAD (this=0x7f6567371960, 
AMETHOD=...) at fpdebugdebugger.pas:1379
#6  0x0000000001493f97 in PREPARECALLSTACKENTRYLIST 
(this=0x7f6567371960) at fpdebugdebugger.pas:1483
#7  0x000000000148fea5 in REQUESTCOUNT (this=0x7f65444954c0, 
ACALLSTACK=0x7f6543d982c0) at fpdebugdebugger.pas:311
#8  0x0000000000c840cc in REQUESTATLEASTCOUNT (this=0x7f65444954c0, 
ACALLSTACK=0x7f6543d982c0, AREQUIREDMINCOUNT=11) at 
dbgintfdebuggerbase.pp:4158
#9  0x0000000000c76a45 in REQUESTATLEASTCOUNT (this=0x7f656671a2c0, 
ACALLSTACK=0x7f6543d982c0, AREQUIREDMINCOUNT=11) at 
../debugger/debugger.pp:6430
#10 0x0000000000c687d8 in HASATLEASTCOUNT (this=0x7f6543d982c0, 
AREQUIREDMINCOUNT=11) at ../debugger/debugger.pp:3860
#11 0x0000000000c7614e in COUNTLIMITED (this=0x7f6543d982c0, ALIMIT=11) 
at ../debugger/debugger.pp:6321
warning: Range for type <error type> has invalid bounds 0..-101
#12 0x0000000001345dda in BREAKPOINTCHANGED (this=0x7f65666faf50, 
ASENDER=0x7f6566719f60, ABREAKPOINT=0x7f654f6464a0) at 
../debugger/callstackdlg.pp:692
#13 0x0000000000c6f55c in UPDATE (this=0x7f6566719f60, 
ITEM=0x7f654f6464a0) at ../debugger/debugger.pp:5099
#14 0x0000000000c4f72d in UPDATE (this=0x7f6566719f60, 
ITEM=0x7f654f6464a0) at debugmanager.pas:370
#15 0x00000000007102d9 in CHANGED (this=0x7f6544ca5ec0, ALLITEMS=128) at 
../objpas/classes/collect.inc:49
#16 0x0000000000000002 in ?? ()
#17 0x0000000001217c0e in DOCHANGED (this=0x7f654f6464a0) at 
dbgintfmiscclasses.pas:509
#18 0x0000000000c6b90c in DOCHANGED (this=0x7f654f6464a0) at 
../debugger/debugger.pp:4500
#19 0x0000000000c4ff59 in DOCHANGED (this=0x7f654f6464a0) at 
debugmanager.pas:452
#20 0x0000000001217ab2 in CHANGED (this=0x7f654f6464a0) at 
dbgintfmiscclasses.pas:498
#21 0x0000000000c80b27 in DOCHANGED (this=0x7f654f2e3dc0) at 
dbgintfdebuggerbase.pp:3340
#22 0x0000000001490e27 in DOCHANGED (this=0x7f654f2e3dc0) at 
fpdebugdebugger.pas:581
#23 0x0000000001217ab2 in CHANGED (this=0x7f654f2e3dc0) at 
dbgintfmiscclasses.pas:498
#24 0x0000000001490c74 in DOSTATECHANGE (this=0x7f654f2e3dc0, 
AOLDSTATE=DSRUN) at fpdebugdebugger.pas:538
#25 0x0000000000c81acd in DOSTATECHANGE (this=0x7f6544300ee0, 
AOLDSTATE=DSRUN) at dbgintfdebuggerbase.pp:3564
#26 0x0000000000c8a672 in SETSTATE (this=0x7f6567371960, AVALUE=DSPAUSE) 
at dbgintfdebuggerbase.pp:5690
---Type <return> to continue, or q <return> to quit---
#27 0x0000000001493414 in FDBGCONTROLLERHITBREAKPOINTEVENT 
(this=0x7f6567371960, CONTINUE=false, BREAKPOINT=0x0) at 
fpdebugdebugger.pas:1219
#28 0x00000000013eb0f3 in SENDEVENTS (this=0x7f654f275e40, 
CONTINUE=false) at fpdbgcontroller.pas:554
#29 0x0000000001493c2f in DEBUGLOOPFINISHED (this=0x7f6567371960) at 
fpdebugdebugger.pas:1396
#30 0x0000000001491c01 in DODEBUGLOOPFINISHEDASYNC (this=0x7f655e40bd60, 
DATA=0) at fpdebugdebugger.pas:816
#31 0x000000000069118c in PROCESSASYNCCALLQUEUE (this=0x7f6576be4430) at 
include/application.inc:1071
#32 0x000000000068f06e in IDLE (this=0x7f6576be4430, WAIT=true) at 
include/application.inc:396
#33 0x0000000000691cb0 in HANDLEMESSAGE (this=0x7f6576be4430) at 
include/application.inc:1265
#34 0x00000000006923b4 in RUNLOOP (this=0x7f6576be4430) at 
include/application.inc:1399
#35 0x00000000006fe076 in APPRUN (this=0x7f6576be4a30, ALOOP=...) at 
include/interfacebase.inc:54
#36 0x0000000000692331 in RUN (this=0x7f6576be4430) at 
include/application.inc:1387
#37 0x0000000000630a8a in main () at lazarus.pp:128

Colin




More information about the Lazarus mailing list