martomo / SublimeTextXdebug

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

Current Line indicator absent #116

Open dickiedyce opened 9 years ago

dickiedyce commented 9 years ago

I'm running sublime text 3 on a Mac, looking into a vagrant box.

I'm fairly sure that it's talking to XDebug; the browser waits until I hit run; the XDebug context updates with believable values, but here's the thing... I have no idea which line XDebug is on at any time. The indicators for breakpoints appear to set and unset, but I can see no sign of any indicator for the current line. What could I possibly doing wrong?

Nicolas-Bouteille commented 9 years ago

I personally can see the current line indicator fine when xdebug reaches a breakpoint, however when I step over, the indicator does not move correctly. The screen actually does scroll down so I can see that Sublime is correctly degugging, and when I switch over to another tab and go back to the tab I am debugging, I can see the indicator is now in it's right position. So the indicator is not re-drawn after I step over unless I refresh my current tab... this makes debugger quite unusable...

Nicolas-Bouteille commented 9 years ago

I am on sublime text 3 as well by the way

dickiedyce commented 9 years ago

That is probably what I'm seeing too.

Nicolas-Bouteille commented 9 years ago

I have xDebug enabled via MAMP Pro 3. Using PHP 5.6.2 Here is the end of my PHP.ini

[OPcache] MAMP_OPcache_MAMP opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1

[xdebug] MAMP_Xdebug_MAMP xdebug.remote_enable=1 xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_autostart=1 ;xdebug.profiler_enable=0 ;xdebug.profiler_output_dir="/Applications/MAMP/tmp"

; DONT REMOVE: MAMP PRO php5.6.2.ini template compatibility version: 2

Nicolas-Bouteille commented 9 years ago

Something tells me I'm missing the zend_extension part right? PHPStorm is talking about it too...

Nicolas-Bouteille commented 9 years ago

I take back what I just said, PHPStorm debugging is working fine with my current xDebug config.

Nicolas-Bouteille commented 9 years ago

Anybody there?

dickiedyce commented 9 years ago

Nicolas!

Still here. Given up on Xdebug in Sublime Text though :-(

On 25 Nov 2014, at 16:39, Nicolas Bouteille notifications@github.com wrote:

Anybody there?

— Reply to this email directly or view it on GitHub https://github.com/martomo/SublimeTextXdebug/issues/116#issuecomment-64429587.

Nicolas-Bouteille commented 9 years ago

Yeah me too and this actually makes me want to give up on Sublime Text at all... I realize that you pay Sublime 70$ but its empty.

It doesn't even come with an SFTP feature, you have to pay 20$ more to get that.

It does not even have a decent sidebar... you have to install Enhanced Sidebar to even be able to create a new file!? but it does not even allow for drag and drop files... or deleting files with a keyboard shortcut...

Another example of things I would expect built-in is GotoOpenFile or syntax highlighting and autocomplete for major languages like CSS3 & SCSS... but no, you have to go and get them additionally...

Another one, the first thing I do when I try an editor out, is creating a custom theme for code highlighting. This is built-in Coda 2 and PHPStorm, but for Sublime I had to go to the great http://tmtheme-editor.herokuapp.com/#/theme/Monokai

So what did I pay for exactly?

I would not especially expect XDebug to be built-in Sublime... but then I would expect it not to be free, like SFTP is. Because with all do respect for the maintainer of this module, right now I understand why it is free. This bug is quite critical and no news in a month... plus I realize that one cannot even expand variable arrays like in any other debuggers, making it totally useless. I actually don't blame the maintainer because people cannot work for free... it's not fair that we pay 70$ for the maintainers of the core Sublime Text which don't do anything between version 2 and 3 whereas maintainers of contrib plugins like Xdebug don't get any money. This is not motivating at all and I understand perfectly that quality may not be meat. But then if I have to pay 70$ for the core + 20$ for each complex plugin, I'd rather pay PHPStorm 95$ right away with everything packed!

Honestly the only thing that is making me hesitating to completely uninstall Sublime and use only PHPStorm & Coda 2 is its speed. Sublime really is blazing fast. I need to see if I can make PHPStorm faster by excluding some files and folders in the project but right now it is much slower than Sublime. Sublime is also gorgeous even thought Coda 2 and PHPStorm are really nice too.

Hey, I should post this as an article somewhere shouldn't I!?

dickiedyce commented 9 years ago

LOL

If it help to let off steam, you crack on fella!

But yes there’s a lot of what you say that makes sense.

The alternatives though are v. poor though. Still not found an IDE that doesn’t get too constrictive…

Oh well,

Kind regards,

R

On 26 Nov 2014, at 12:10, Nicolas Bouteille notifications@github.com wrote:

Yeah me too and this actually makes me want to give up on Sublime Text at all... I realize that you pay Sublime 70$ but its empty.

It doesn't even come with an SFTP feature, you have to pay 20$ more to get that.

It does not even have a decent sidebar... you have to install Enhanced Sidebar to even be able to create a new file!? but it does not even allow for drag and drop files... or deleting files with a keyboard shortcut...

Another example of things I would expect built-in is GotoOpenFile or syntax highlighting and autocomplete for major languages like CSS3 & SCSS... but no, you have to go and get them additionally...

Another one, the first thing I do when I try an editor out, is creating a custom theme for code highlighting. This is built-in Coda 2 and PHPStorm, but for Sublime I had to go to the great http://tmtheme-editor.herokuapp.com/#/theme/Monokai http://tmtheme-editor.herokuapp.com/#/theme/Monokai So what did I pay for exactly?

I would not especially expect XDebug to be built-in Sublime... but then I would expect it not to be free, like SFTP is. Because with all do respect for the maintainer of this module, right now I understand why it is free. This bug is quite critical and no news in a month... plus I realize that one cannot even expand variable arrays like in any other debuggers, making it totally useless. I actually don't blame the maintainer because people cannot work for free... it's not fair that we pay 70$ for the maintainers of the core Sublime Text which don't do anything between version 2 and 3 whereas maintainers of contrib plugins like Xdebug don't get any money. This is not motivating at all and I understand perfectly that quality may not be meat. But then if I have to pay 70$ for the core + 20$ for each complex plugin, I'd rather pay PHPStorm 95$ right away with everything packed!

Honestly the only thing that is making me hesitating to completely uninstall Sublime and use only PHPStorm & Coda 2 is its speed. Sublime really is blazing fast. I need to see if I can make PHPStorm faster by excluding some files and folders in the project but right now it is much slower than Sublime. Sublime is also gorgeous even thought Coda 2 and PHPStorm are really nice too.

Hey, I should post this as an article somewhere shouldn't I!?

— Reply to this email directly or view it on GitHub https://github.com/martomo/SublimeTextXdebug/issues/116#issuecomment-64595484.

Nicolas-Bouteille commented 9 years ago

:)

nunomaduro commented 8 years ago

I have exacly the same issue. Any future plans to fix this?