As MOD said it's only for Windows. I was writing a version entirely with fbc instructions but it's in standby to take in account the important modification below.gtripathi wrote:I'm trying to install this on Ubuntu. Is there a linux binary for FB Debugger, or instructions to compile in on linux?
After a bit of work.... I can release a new version allowing to handle dyn arrays in udt. Only with -gas option.
Although I have tested on a dyn array variable with dyn arrays on 2 levels. :-) you might still find bugs.
Mandatory use the last 0.91 build provided by St_W.
http://users.freebasic-portal.de/sarg/FBdebugger.bas (beta 11)
Just for testing :
Code: Select all
Type ttest2
vvv(1) As Short
xxx As Integer
zzz(Any) As Integer
End Type
Type ttest
aaa As UByte
bbb(Any) As ttest2
ccc(1 To 2) As ulongint
End Type
Dim As ttest vtest2(2)
vtest2(1).aaa=19
ReDim (vtest2(1).bbb) (1)
vtest2(1).bbb(0).xxx=12
ReDim vtest() As ttest
ReDim vtest(1 To 2)
vtest(1).aaa=111
vtest(1).ccc(1)=10
vtest(1).ccc(2)=11
vtest(2).aaa=222
vtest(2).ccc(1)=20
vtest(2).ccc(2)=21
ReDim (vtest(1).bbb)(0)
vtest(1).bbb(0).xxx=190:Print @vtest(1).bbb(0).xxx
ReDim (vtest(1).bbb)(1)
vtest(1).bbb(1).xxx=191
vtest(1).bbb(1).vvv(0)=120
vtest(1).bbb(1).vvv(1)=121
ReDim (vtest(1).bbb(1).zzz)(1)
vtest(1).bbb(1).zzz(0)=1100
vtest(1).bbb(1).zzz(1)=1101
ReDim (vtest(2).bbb)(0)
vtest(2).bbb(0).xxx=290
ReDim (vtest(2).bbb)(1)
vtest(2).bbb(1).xxx=291:Print @vtest(2).bbb(1).xxx
vtest(2).bbb(1).vvv(0)=220:Print @vtest(2).bbb(1).vvv(0),vtest(2).bbb(1).vvv(0)
vtest(2).bbb(1).vvv(1)=221
ReDim (vtest(2).bbb(1).zzz)(2 To 3)
vtest(2).bbb(1).zzz(2)=2002
vtest(2).bbb(1).zzz(3)=2003
Print vtest(2).bbb(1).zzz(3)
ReDim (vtest(1).bbb)(3)
vtest(1).bbb(3).xxx=33390
Print vtest(1).bbb(3).xxx
Sleep
Cls