CodeLobster IDE
http://codelobster.com/forum/

Setup Codelobster with UwAmp Server - Help
http://codelobster.com/forum/viewtopic.php?f=3&t=24209
Page 1 of 1

Author:  Petru [ Sun Apr 01, 2018 12:32 pm ]
Post subject:  Setup Codelobster with UwAmp Server - Help

I cannot setup debugger for UwAmp Server.
Tried n times. Nothing !
It is a portable server: https://www.uwamp.com/en/
Any guidance ?

Author:  Admin [ Mon Apr 02, 2018 1:06 pm ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

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.

Author:  Petru [ Wed Apr 04, 2018 2:53 pm ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

My files in archive.
Thanks !

Attachments:
php_ini_info.zip [54.57 KiB]
Downloaded 4177 times

Author:  Admin [ Wed Apr 04, 2018 3:37 pm ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

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.

Author:  Petru [ Wed Apr 04, 2018 10:06 pm ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

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(, ) {
    return  + ;
}

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

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


Can you help me with that?
Thanks in advance !

Author:  Admin [ Thu Apr 05, 2018 7:09 am ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

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.

Author:  Petru [ Fri Apr 06, 2018 8:41 am ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

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).

Author:  Admin [ Fri Apr 06, 2018 3:03 pm ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

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.

Author:  Petru [ Fri Apr 06, 2018 4:13 pm ]
Post subject:  Re: Setup Codelobster with UwAmp Server - Help

Wow !
Finally, it works !

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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/