SublimeTextXdebug icon indicating copy to clipboard operation
SublimeTextXdebug copied to clipboard

My gutter icons don't show up

Open oddietaco opened this issue 11 years ago • 11 comments

Hi, I am having trouble with the gutter icons. The breakpoint icon shows up fine (always), but none of the other ones show up while debugging. I have uninstalled and reinstalled the xdebug package, and the problem continues.

I can step through my code without an issue. I can see line numbers change in the Xdebug stack, for instance. But my gutter icons remain invisible.

Here you can see a screenshot of Sublime.

devicefamily_php__head

I am running Sublime Text 3, build 305; debugger v2013.12.14.15.41.44; Apache 2.2.15; PHP 5.4.13 with Xdebug v2.2.3.

My .htaccess file has:

php_value xdebug.remote_host 10.2.1.101
php_value xdebug_enable 1
php_value xdebug.show_exception_trace 1

Thanks! Alan

oddietaco avatar Apr 21 '14 20:04 oddietaco

@oddietaco Are you using any other gutter packages?

What about if you switch to another random view and back to the active debugged script view. Does the icon show in the gutter then?

martomo avatar May 04 '14 13:05 martomo

Hello,

I've got the same problem. Switching between two windows did not reveal the icon. I've removing all packages which used gutter icons and nothing changed. I remove and reinstall (with Package Controle) Xdebug client too.

I am running Sublime text 3 Build 3059 on Windows 64bit, PHP 5.4.27 and xDebug 2.2.3.

Thank you :)

gubarazer avatar May 05 '14 09:05 gubarazer

@gubarazer Do you have multiple instances of Sublime Text running?

martomo avatar May 05 '14 10:05 martomo

Nop, just one.

gubarazer avatar May 05 '14 12:05 gubarazer

@martomo xdebug is the only plugin with gutter icons that I have running.

oddietaco avatar May 05 '14 13:05 oddietaco

I have the same problem. I can add breakpoints, the debugger seems to work but I cannot see the bookmark icon for the current line. I have SublimeText 2, MacOs X 10.9.3. Did you found a solution to this ?

creaminds avatar May 23 '14 10:05 creaminds

Same problem here.

Interestingly enough. It was fine last couple of weeks, all of a sudden today, the current_line gutter icon disappeared. Debug session runs, I see the values change, but I don't know which line the debugger is currently executing.

While I initially suspected issues with complexity of code (it seem to work ok on a simple 10 line PHP script, but fails on one with 200+ lines), when I made the simple script more complicated it still worked.

I'm currently using Xdebug Stack view to see which line I'm on - thankful we still have that display.

Anything we could try to diagnose this issue? And is anyone else having the same issue?

p.s. running on Mac OSX maverick, ST3 build 3065.

johnathanz avatar Oct 08 '14 09:10 johnathanz

Given the issue plagues specific files, I wanted to see what aspect of the code was causing issues.

Conclusion. I got back the current_line gutter icon on the file that didn't work before, but I'm not sure why :p

Steps I took:

  1. Found file A.php that had the gutter icon
  2. backed up file B.php that didn't have the gutter icon
  3. Overwrote contents of B.php with A.php. Tested XD. Works
  4. Incrementally took chunks of code from backups of B.php and put it back into B.php and tested XD to determine culprit code block
  5. After chunking back up of B.php into 10 chunks, and running XD with each code chunk added to B.php

End of the day, contents of B.php is back to where it was in step (1), and I got my gutter icon back. Still not sure what caused the issue :(

Hopefully this helps someone...

johnathanz avatar Oct 08 '14 10:10 johnathanz

Same issue here.

OS - OSX Yosemite ST3 - build 3083 Xdebug Client: v2014.06.14.19.15.10

I know it worked for me in the past. I'm not sure why it stopped. I tried disabling all other packages but had no luck. I also tried using a fresh install of ST3, with just Package Control and Xdebug Client installed, but the gutter icons still would not show up.

byteshinobi avatar Jul 31 '15 17:07 byteshinobi

Did anyone find a solution to this, I am experiencing the same problem which is making debugging rather clunky

underfloorheat avatar May 03 '17 11:05 underfloorheat

I found a solution to the problem and thought i'd share: -

https://github.com/martomo/SublimeTextXdebug/issues/171

underfloorheat avatar May 03 '17 13:05 underfloorheat