Not all variables display in variables windows
Hi .
While debugging , I often get some variables that do not display in the variables windows . I cant set a watch on them . Console -> print returns No symbol "XXXX" in current context.
But if I use fmt.Println , they do print .
func Sample() { for j := 1; j < 3; j++ { print(j) }
displays j
while func Sample() { j := 1 print(j)
does not :(
Using X22 , Win64 .
Thanks in advance . Guy .
After writing :
"Console -> print returns No symbol "XXXX" in current context."
It came to me , it may be that it is not a LiteIde issue , But a gdb issue .
So I've added
-gcflags "-N -l"
to the build flags (BTW - I think you should allow that within a click .)
now I do see j in both cases , but I don't see a slice of structs :(
this is probably more gdb issue , but I cant seem to workaround it .
Same here on Windows 64. The lack of debugging is really disappointing (
Same problem here, would be great if this could get fixed in future release!
to emphasize ,
in some versions in the past (I don't really know if it was the golang update or the x22 liteide) situation was better .
I got a new laptop and reinstalled everything (including Go1.3 , LiteIde x22) , and now , I have no variables at all , and the call stack shows ??? on all stack but the current procedure .
Guy .
From: MWallin Sent: Friday, July 11, 2014 10:42 AM To: visualfc/liteide Cc: GuyBrand
Same problem here, would be great if this could get fixed in future release!
— Reply to this email directly or view it on GitHub.
now debug always use -gcflags "-N -l"