From aaf84a376ae481b9d9b1a4ce39a687be71256f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Wed, 29 Jul 2009 12:04:27 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Fix the crash when displaying debugging windows at program startup. git-svn-id: svn://localhost/gambas/trunk@2190 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.src/Debug/Design.module | 1 - app/src/gambas3/.src/Debug/FDebugExpr.class | 4 ++++ app/src/gambas3/.src/Debug/FDebugExpr.form | 4 +++- app/src/gambas3/img/control/picturebox.png | Bin 2434 -> 2350 bytes 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/src/gambas3/.src/Debug/Design.module b/app/src/gambas3/.src/Debug/Design.module index 5be27d450..08db34b00 100644 --- a/app/src/gambas3/.src/Debug/Design.module +++ b/app/src/gambas3/.src/Debug/Design.module @@ -125,7 +125,6 @@ Public Sub Debug_Read(Data As String) Dim iLine As Integer Dim sVar As String - 'Debug Data If Not Data Then Return If Data = "!" Then diff --git a/app/src/gambas3/.src/Debug/FDebugExpr.class b/app/src/gambas3/.src/Debug/FDebugExpr.class index 985ef05ae..c2842bbe2 100644 --- a/app/src/gambas3/.src/Debug/FDebugExpr.class +++ b/app/src/gambas3/.src/Debug/FDebugExpr.class @@ -264,6 +264,10 @@ Private Sub Init(sInfo As String, bNew As Boolean) As Boolean Dim bHasHidden As Boolean $aSym = Split(sInfo, " ", Chr$(34)) + If $aSym.Count < 3 Then + Debug "???";; sInfo + Return True + Endif $sClass = $aSym[0] $sRealClass = $aSym[1] diff --git a/app/src/gambas3/.src/Debug/FDebugExpr.form b/app/src/gambas3/.src/Debug/FDebugExpr.form index 115febdd2..6f5e2e0f4 100644 --- a/app/src/gambas3/.src/Debug/FDebugExpr.form +++ b/app/src/gambas3/.src/Debug/FDebugExpr.form @@ -9,6 +9,7 @@ Arrangement = Arrange.Vertical { HBox1 HBox MoveScaled(1,1,27,4) + Background = Color.TextBackground { txtExpr TextBox MoveScaled(0,0,16,4) Font = Font["Bold"] @@ -17,10 +18,11 @@ Border = False } { btnHidden ToolButton - MoveScaled(20,0,4,4) + MoveScaled(22,0,4,4) ToolTip = ("Show hidden symbols") Text = ("") Picture = Picture["icon:/small/lamp"] + Toggle = True } } { gvwExpr GridView diff --git a/app/src/gambas3/img/control/picturebox.png b/app/src/gambas3/img/control/picturebox.png index a8b9fd550eadcadf027833c6f1ae1e0bec1d0b5b..302ab305861fd15ad84244738e824ddb793e267c 100644 GIT binary patch delta 2314 zcmV+l3HA1Z6Rr}FBnkm@Qb$4nuFf3kks%y^4j=#k4j=&{>|tjB000McNliru*#{F6 z6AXTmxq$!x2(C#)K~z}7y;f;(R8NVM%~kfXX6k zqy`xVL>Tv(LT6AwQB;O0XP6lr7-|%&W~PuSjfy~m3tI>T0w%0UOaj^HPC833>2&vh z>(~A6{J>}^4KAqX*R5Ok*7?qN&iT#(emdh!dH1g2t%+OuFY@-(;wLwmG7bO`U%03| zVMFXSRJ>OtX|B1l-Qe{UoUzX|MEu zWPb$b8vqmna2v)?pCdQgA&CMAAwLTFZEcHk{kBsuc1)J3w6t`>i3cB~lOA}0_$bA`10|TQ@}aBz0J@GAqxMW0q)~Y^ap}`T zjX8xd!gb?ZYWHj0SWDBKWAe7cvIGS5c!Mf&cPp+I3=o{@2=PFypO>uT1{K zU)RMaB%!XWm&SEAk{xRnV*MwzXz~Uz!K%dH=jGrufR8V^5bp5f)2m$&B??OEP0@$j zn{mB(#|GcUlbZ+n7>t2`c*pYfhl}nlOt0#R;8e03=Gm5P~6-=b-7IzlTe%fP8oc zqUPZZi-?5+Fc&VtuD#F0)LIGGQNShRVApE!$drd^G#nzX18=_WId|kS0AF){Qy08M z2=rO``?qb|HuSN7t*@gy93wJbiKxE^(LO%_pp&R@xU3v$RxKz6q^O9V=6bwn7zyKb z7bZDfSk%%&k9Z>RMa0n6e{FotbMDAvgkf&2;WwbD$8A1z>a^Kp#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