CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Mar 28, 2024 8:15 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Debugger not stopping
PostPosted: Tue Apr 11, 2017 11:21 am 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 23
I think I read all topics on this argument, and tried to apply the suggestions, but my debugger seems not working yet. My configurations is:

OS: Windows 10 x64
Web Server: Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/7.1.1 (installed with Xampp)

In order to test the smallest project, I created a 'test' folder in the 'C:\xampp\htdocs' directory, then created a 'Test' project with an index.php file with 2 lines and set 2 breakpoints on them, pressed F5 (or also Shift+F8), and the page shows correctly, but the debugger does not stop at the breakpoints. The debugger options are:

Virtual folder: C:\xampp\htdocs
Virtual Host: http://localhost/ (I tried also with http://localhost:8080/)
Path to php.ini file: C:\xampp\php
Web Server:
PHP Version: PHP_7.0.x_VC14_Thread_Safe
Port: 6000

The project url for debugging is:
http://localhost/test/

I attach the php.ini file and the result of the <?php print(phpinfo (INFO_ALL)); ?> command.

Thank you very much


Attachments:
phpinfo.zip [23.39 KiB]
Downloaded 2708 times
php.ini [72.27 KiB]
Downloaded 2747 times
Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Tue Apr 11, 2017 12:10 pm 
Offline
Site Admin

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

Codelobster doesn't support PHP version 7.1. yet.
We are going to add it into our next release.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Tue Apr 11, 2017 4:25 pm 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 23
Admin Wrote:
Codelobster doesn't support PHP version 7.1. yet.


Well, I installed then Xampp 7.0.15 with PHP 7.0.15, but it seems not working yet. Though I noticed a difference in the debugger options, as this time the program detects the Apache 2.4 automatically. I attach the same files as before. Could you please tell me what PHP version is supported by Codelobster? Thanks.


Attachments:
phpinfo.zip [23.52 KiB]
Downloaded 2692 times
php.ini [71.8 KiB]
Downloaded 2765 times
Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Tue Apr 11, 2017 5:09 pm 
Offline

Joined: Tue Apr 11, 2017 10:44 am
Posts: 23
So, now it works, but I don't know why, as didn't change anything, or didn't realize to change something.
Thank you.


Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Sun Jun 11, 2017 2:53 am 
Offline

Joined: Sun Jun 11, 2017 2:39 am
Posts: 4
I have the same issue, i.e. the debugger not stopping.

My environment is Windows 10 and set by WampServer with PHP 5.6.25.

Followed some instructions in an answer to the similar issue by commenting out XDebug in php.ini file and restarting server, the issue still stays.

I have attached php.ini file, and could not attach PHPInfo pages due to the file size over 256 KB. Please help.

Cheniwa


Attachments:
php.ini [73.07 KiB]
Downloaded 2839 times
Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Tue Jun 13, 2017 1:08 pm 
Offline
Site Admin

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

Please, send us the result of the following PHP script:

<?php
print(phpinfo (INFO_ALL));
?>

Most probably You try to use 32bit version instead of 64bit.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Fri Jun 16, 2017 4:28 pm 
Offline

Joined: Sun Jun 11, 2017 2:39 am
Posts: 4
Hi CodeLobster,

Thanks for reply. Here is the text file for what you asked for. Due to the upload file restriction, I cannot do PDF file, instead rich text file. Hopefully, it works for you.

To follow up on what you mentioned in your reply, I did check the Apache installation by Windows 10 command line. It shows:

D:\wamp64\bin\apache\apache2.4.23\bin>httpd -v
Server version: Apache/2.4.23 (Win64)
Server built: Jul 1 2016 11:43:51

Thanks again.

Cheniwa


Attachments:
phpinfo.rtf [172.54 KiB]
Downloaded 2988 times
Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Fri Jun 16, 2017 6:16 pm 
Offline
Site Admin

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

Please, enter the following values into the Preferences:

virtual folder - D:/wamp64/www
virtual host - http://localhost/
path to php.ini - D:\wamp64\bin\apache\apache2.4.23\bin\php.ini
php version - PHP_5.6.x_VC11_x64_Thread_Safe

click Install and restart your web server.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Mon Jun 19, 2017 2:20 pm 
Offline

Joined: Sun Jun 11, 2017 2:39 am
Posts: 4
Hi,

Thanks for the reply. I did followed your instructions by updating preferences and restarting the web server.

After these actions, I started to debug a simple source code again by
- Setting a breakpoint in the source code, and
- Clicking the run icon (green right arrow).

Initially, CodeLobster displayed a message box to ask restarting wampserver64. Click okay, then it displayed the result page in the browser without stopping at the break point. Tried again and still did not stop at the breakpoint. Any ideas on further actions? Thanks for the help again.

Cheniwa


Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Mon Jun 19, 2017 2:30 pm 
Offline

Joined: Sun Jun 11, 2017 2:39 am
Posts: 4
Hi CL Admin:

I played the preference setting again after posted my reply here. It works now.

I noticed that a key change I made at this time is to use forward slash (/) instead of backward slash (\) in the virtual folder: field. Per convention, a file system path name uses "/" as a separator to specify the next sub-folder or a file name. However, it seems that CL did differently on this field by using "/". Could you please share the reason for this? Many thanks.

Cheniwa


Top
 Profile  
 
 Post subject: Re: Debugger not stopping
PostPosted: Mon Jun 19, 2017 3:57 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
H.

Sorry, yes, "virtual folder" should be
D:\wamp64\www

Regards,
Codelobster Team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 56 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:  
cron
Powered by phpBB © 2016 phpBB Group