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 Oct 16, 2018 2:04 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Setup Codelobster with UwAmp Server - Help
PostPosted: Sun Apr 01, 2018 12:32 pm 
Offline

Joined: Thu Apr 27, 2017 12:49 am
Posts: 22
I cannot setup debugger for UwAmp Server.
Tried n times. Nothing !
It is a portable server: https://www.uwamp.com/en/
Any guidance ?


Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Mon Apr 02, 2018 1:06 pm 
Offline
Site Admin

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

Could You, please, send us your php.ini file and the result of the following PHP script:

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

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Wed Apr 04, 2018 2:53 pm 
Offline

Joined: Thu Apr 27, 2017 12:49 am
Posts: 22
My files in archive.
Thanks !


Attachments:
php_ini_info.zip [54.57 KiB]
Downloaded 179 times
Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Wed Apr 04, 2018 3:37 pm 
Offline
Site Admin

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

Please, enter the following values:

Virtual folder: D:\UwAmp\www
Virtual host: http://localhost/
Path to php.ini: D:\UwAmp\bin\apache
Web Server: empty
Php version: PHP_7.0.x_VC14_Thread_Safe

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Wed Apr 04, 2018 10:06 pm 
Offline

Joined: Thu Apr 27, 2017 12:49 am
Posts: 22
Thanks a lot !

Maybe your IDE is a lot different than others.
I cannot realize how can I see in Locals variables from code below, step-by-step.

Code:
<?php
function add($a, $b) {
    return $a + $b;
}

function sum($values) {
    $sum = 0;
    foreach ($values as $value) {
        $sum = add($sum, $value);
    }
    return $sum;
}

$five = add(2, 3);
$ten = add(add(2, 3), 5);
$hundred = sum(array(10, 20, 30, 40));
$thousand = sum(array(100, 200, 300, add(399, 1)));
?>


Can you help me with that?
Thanks in advance !


Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Thu Apr 05, 2018 7:09 am 
Offline
Site Admin

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

You should set a breakpoint on any line and press F5 to start the debugger.
When Codelobster stops on your line You will be able to see all variables.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Fri Apr 06, 2018 8:41 am 
Offline

Joined: Thu Apr 27, 2017 12:49 am
Posts: 22
I did, but CL just open browser and nothing happens.
I cannot catch CL debugg idea.

I did debugg in RapidPHP, VS Code, Phpstorm, Netbeans.
CL is a mistery for me. And there is no decent tutorial (for me).


Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Fri Apr 06, 2018 3:03 pm 
Offline
Site Admin

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

Looks like UwAmp Server uses another ini-file.

Please, add the following lines:

[CLDbg]
extension=php_cl_dbg_7_0_VC14.dll
clport=6000

into
D:\UwAmp\bin\php\php-7.0.3\php_uwamp.ini
and restart UwAmp Server.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Setup Codelobster with UwAmp Server - Help
PostPosted: Fri Apr 06, 2018 4:13 pm 
Offline

Joined: Thu Apr 27, 2017 12:49 am
Posts: 22
Wow !
Finally, it works !

Thanks a lot ! I'll recommend CL, it certainly deserves it.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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