CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, Fhalcon, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Tue Dec 10, 2019 12:44 pm

All times are UTC




Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Mon Jan 21, 2019 11:19 am 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
Hello, thank you for your detailed answer.

> Do You work with some project?
Yes, a Yii2 basic project.

Does Codelobster IDE crash just after file opening?
Yes

> Does Codelobster IDE crash if You open this one single file (without opening your project)?
I tried now to open Codelobster IDE again, but it doesn't crash any more, so I cant reproduce the bug at present and cannot answer this question.

> Which plug-ins are turned on?
No plug in turned o.

> Could You, please, send us the screenshot of the crash.
No screenshot, it closes without error message


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Mon Jan 21, 2019 11:44 am 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
I followed your instructions for the debugger, but when checking the xdebug settings, I got a message box by Codelobster that I attach here as an image file.
I tried also to add following lines in the php.ini file, but it gives the same message:

xdebug.remote_host = "http://localhost"
xdebug.remote_port = 9000
xdebug.remote_handler = "dbgp"
xdebug.remote_host or xdebug.remote_connect_back On
xdebug.remote_connect_back = off
xdebug.remote_log="xdebug.log"

I obviously restarted the apache webserver


Attachments:
phpinfo.zip [23.94 KiB]
Downloaded 500 times
zdebug.png
zdebug.png [ 10.81 KiB | Viewed 11311 times ]
Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Mon Jan 21, 2019 3:45 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Hi.

You havn't xDebugger installed still.

Please,

1. Download it here:
https://xdebug.org/files/php_xdebug-2.7 ... 15-nts.dll
and copy to C:\xampp\php\ext\

2. Open your php.ini file:

- comment or remove whole [CLDbg] block
- be sure, the the following section exists (and it is not commented):

Code:
[XDebug]
zend_extension = "C:\xampp\php\ext\php_xdebug-2.7.0beta1-7.2-vc15-nts.dll"
xdebug.remote_enable=on
xdebug.default_enable=on
xdebug.remote_autostart=1
xdebug.max_nesting_level=256


3. Restart apache server from XAMPP panel.

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Mon Jan 21, 2019 4:27 pm 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
Hello, I already did *exactly* what you said:

1) I downloaded the file and saved it into the C:\xampp\php\ext\ folder
2) I inserted the lines into the php.ini file
3) I removed the [CLDbg] block
4) I restarted the apache server from the xampp panel

but it still doesn't work!


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 9:00 am 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
Could it perhaps depend on other settings? For example on the project properties? Am I doing somethin wrong by starting the debugger? I set a breakpoint on the main index.php file and press F5. I tried also with F8 and Shift-F8. I really don't know what to do.


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 9:25 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Hi.

You sent us your phpinfo(),
but there isn't the following line there:
Code:
zend_extension = "C:\xampp\php\ext\php_xdebug-2.7.0beta1-7.2-vc15-nts.dll"


Also your can try the version 2.6.1 of xDebug:
https://xdebug.org/files/php_xdebug-2.6 ... 15-nts.dll

And We can look at your PC directly
if You provide us with TeamViever access for it.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 9:59 am 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
Hello, I followed the instructions on the site "https://xdebug.org/wizard.php", where I've been told to download the "php_xdebug-2.6.1-7.2-vc15.dll" file, and now finally the Codelobster IDE finds the xdebugger installed! (I think this is the thread safe dll, although I don't know when one or the other is to use). But now, when I run the debugger, I get the message "Incorrect port number!", as in the attached image.


Attachments:
Error.png
Error.png [ 2.53 KiB | Viewed 11297 times ]
Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 10:36 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Please, be sure that your firewall is turned off:
https://support.microsoft.com/en-us/hel ... -on-or-off


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 11:17 am 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
Admin wrote:
Please, be sure that your firewall is turned off:
https://support.microsoft.com/en-us/hel ... -on-or-off

Just tried but still incorrect porte number.


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 12:36 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Hi.

Could You, please, send us your [XDebug] section from php.ini
and Debugger Settings in CodeLobster IDE.

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 1:15 pm 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
Here they are, tahnk you.


Attachments:
debugger.png
debugger.png [ 5.95 KiB | Viewed 11290 times ]
xdebug.txt [128 Bytes]
Downloaded 520 times
Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 1:20 pm 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
I just noticed that the "incorrect port number" message shows only the second time I start the debugger, while the first time it doesn't start at all, or perhaps it starts, but doesn't stop at any breakpoint. I tried also with a single php file. When I press F5, the html page correctly shows in the browse, without stopping at any breakpoint in the source code.


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 4:29 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Hi.

You sent us some incorrect lines:
Code:
[Xdebug]
hp\ext\php_xdebug-2.6.1-7.2-vc15.dll"
xdebug.remote_enable=on
xdebug.default_enable=on
xdebug.max_nesting_level=256


It should be (if You use version 2.6.1):

Code:
[Xdebug]
zend_extension = "C:\xampp\php\ext\php_xdebug-2.6.1-7.2-vc15.dll"
xdebug.remote_enable=on
xdebug.default_enable=on
xdebug.remote_autostart=1
xdebug.max_nesting_level=256



Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Tue Jan 22, 2019 5:29 pm 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 18
It was a copy/paste error, these are the lines in my php.ini file:

[Xdebug]
zend_extension = "C:\xampp\php\ext\php_xdebug-2.6.1-7.2-vc15.dll"
xdebug.remote_enable=on
xdebug.default_enable=on
xdebug.max_nesting_level=256


Top
 Profile  
 
 Post subject: Re: Activating Debugger on Windows 10 - PHP 7.0.2
PostPosted: Wed Jan 23, 2019 7:59 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Hi.

And We can try to look at your PC directly
if You provide us with TeamViever access for it.

Thanks,
codelobster Team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group