martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

Gutter icon not showing #171

Closed underfloorheat closed 7 years ago

underfloorheat commented 7 years ago

@martomo

I am experiencing the same issues outlined in these 3 tickets.

58

By @PRR24

74

By @oddietaco

116

By @dickiedyce

My current line indicator is not showing while execution has been halted and I step through my code. The breakpoint indicators are visible and they work, I can step through my code and the stack and watch windows work correctly, I just don't get any indication of what line I am currently on?

Has there been a solution for this implemented yet? Is there some workaround I could implement?

It's extremely difficult to debug when the current line cursor is not showing.

I have tried uninstalling the package and Sublime Text 3. I cleared all cache files and did a clean install of Sublime. I installed only the xdebug package, so I could rule out clashes with other packages, but still no current line indicator.

I am running: -

OS : Mac OSX Sierra 10.12.4 Sublime : Build 3126 Xdebug client : v2014.06.15.19.15.10

underfloorheat commented 7 years ago

I've got an update. I noticed my file was named using camelcase. I needed this to all be lower case for the system to work correctly in my case-sensitive production environment, so i changed the name from partsFactory.php to partsfactory.php using the mv command on CLI. The cursor now shows in Sublime?

Presumably as the mv command has created a new file with the content of the old file and written the new file over the top of the old one, this has reset some cache somewhere or reset the permissions or something?

Before renaming the file, I added a breakpoint to my index.php bootstrap file and this showed the current breakpoint cursor correctly.

Hope this helps others with the same problem.