Author Topic: Go To Definition error: Can not jump to symbol ": No file name!  (Read 611 times)

rowbearto

  • Senior Community Member
  • Posts: 947
  • Hero Points: 44
When I use Ctrl+. (Go to definition), I get a dialog box with a few choices of which definition to go to.

Occasionally when I double click on one of the options I see error message: "Can not jump to symbol ": No file name!". Attached is a screen shot. SE does not go to my definition when I see this error.

If I try a next time, I don't get this error, and SE does go to the definition.

It also happens occasionally when I single click select one of the options and click "OK".

I haven't figured out how to systematically reproduce this, but it happens often enough that it is annoying.

I'm using 22.0.2 on Linux x64/CentOS 7 with hotfix 3.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2357
  • Hero Points: 316
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #1 on: April 09, 2018, 02:11:52 pm »
What language mode are you seeing this in?

rowbearto

  • Senior Community Member
  • Posts: 947
  • Hero Points: 44
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #2 on: April 09, 2018, 02:13:31 pm »
C++

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2357
  • Hero Points: 316
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #3 on: April 09, 2018, 02:51:57 pm »
It sounds like a timer event is messing with your active match set.  Do you have any user-written macros loaded that do symbol matching?

rowbearto

  • Senior Community Member
  • Posts: 947
  • Hero Points: 44
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #4 on: April 09, 2018, 02:53:55 pm »
I don't think that I have any user-written macros that do symbol matching.

I uploaded my macros - robutils.e to support so you can take a look.

rowbearto

  • Senior Community Member
  • Posts: 947
  • Hero Points: 44
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #5 on: April 09, 2018, 11:00:55 pm »
Is there a specific timer that I can set to workaround this issue? Can you explain what may possibly be happening?

jprod1038

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #6 on: April 10, 2018, 04:13:09 pm »
I'm interested in this too and I see this error message from time to time.  I have SE v22.0.2 but also saw this quite a bit on v20.0.3.  I'm using SE on Linux.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2357
  • Hero Points: 316
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #7 on: April 26, 2018, 09:28:30 pm »
It appears that the problem may be related to the Preview tool window being active.  I am adding an experimental fix for this problem for next 22.0.2 hot fix.

rowbearto

  • Senior Community Member
  • Posts: 947
  • Hero Points: 44
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #8 on: June 08, 2018, 07:50:06 pm »
I still get this issue (maybe less often than before) with hotfix 6

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2357
  • Hero Points: 316
Re: Go To Definition error: Can not jump to symbol ": No file name!
« Reply #9 on: June 11, 2018, 02:41:48 pm »
That's disappointing.  I will take another look at this later this week.  Really, really hard to fix a bug that you can not reproduce.  I might have to make a major change to the Select Symbol dialog underpinnings to eliminate this problem for the next release.