Goto/Peek not working on global

This forum is meant for questions and discussions about the X# language and tools
Post Reply
ic2
Posts: 1813
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Goto/Peek not working on global

Post by ic2 »

Not sure if this would be solved with https://github.com/X-Sharp/XSharpPublic/issues/997 but this doesn't work either:

e.g
cPath:=cDataPath

In another included lib we have:

GLOBAL cDataPath as string

In VO I can directly go to this global definition. In X# this doesn't work (Peek/Goto definition on cDataPath).

Contrary to the Dword surrounded method of #997, the tooltip is correct.

Dick
User avatar
Chris
Posts: 4599
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Goto/Peek not working on global

Post by Chris »

Hi Dick,

This seems to work fine here, does it happen to you with all GLOBALs or with some of them only? Can you reproduce the problem in a small test project?

.
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
ic2
Posts: 1813
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Goto/Peek not working on global

Post by ic2 »

Hello Chris,

Further checks revealed that for none of the globals Goto/Peek work in a specific library although the library where the global is in, is included, and the tooltip is correctly referring to the global too.

When I add the same global into on of the other libraries which also include the library (with the globals) it does work.

I have to figure out if I can find a difference. Or a way to reproduce.

Dick
User avatar
Chris
Posts: 4599
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Goto/Peek not working on global

Post by Chris »

...or you can send the library :-)
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Post Reply