liteide icon indicating copy to clipboard operation
liteide copied to clipboard

Not all variables display in variables windows

Open guybrand opened this issue 12 years ago • 5 comments

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 .

guybrand avatar May 02 '14 20:05 guybrand

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 .

guybrand avatar May 02 '14 20:05 guybrand

Same here on Windows 64. The lack of debugging is really disappointing (

acid009 avatar Jun 27 '14 17:06 acid009

Same problem here, would be great if this could get fixed in future release!

MWallin avatar Jul 11 '14 07:07 MWallin

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.

guybrand avatar Jul 11 '14 09:07 guybrand

now debug always use -gcflags "-N -l"

visualfc avatar May 18 '17 08:05 visualfc