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 6:02 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Xdebug Ignoring breakpoint
PostPosted: Thu Sep 05, 2019 12:00 pm 
Offline

Joined: Mon Mar 11, 2019 12:43 pm
Posts: 8
Hi,

Just switched to CL IDE from CL PHP as debug stopped working following upgrade to PHP 7.3 and advised that with CL IDE, use of XDEBUG would resolve issue.

I am just getting familiar with IDE, albeit in many ways it seems similar to PHP version.

When I want to debug, I set a breakpoint in my code.

When I used to set a breakpoint in my code CL PHP, the browser would launch, and the debugger would break in when the code reached that breakpoint. So all good there.

In CL IDE, I'm not getting the same behaviour. Instead, the debugger breaks in at the first line of code in my index.php file (line 3, ini_set in attached). I then have to step through all the code and only when the page is opened where I set the breakpoint does it break in. I can then step through code from that breakpoint. So its just a bit frustrating that noiw I have to do about 20 step throughs before I get to the point I actually wanted to start debugging from.

Am I doing something wrong, or is this just the difference between XDEBUG and the CL PHP in-built debugger?

Attached are php.ini and index.php.


Attachments:
index.zip [1.58 KiB]
Downloaded 7435 times
php.ini [74.04 KiB]
Downloaded 7356 times
Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Xdebug Ignoring breakpoint
PostPosted: Thu Sep 05, 2019 12:52 pm 
Hi,
I'm fairly new to CodeLobster IDE too but debugging works for me.
I start the debugger with F5 from the starting page and then it will reach the first break point and any successive break point by hitting F5 again.

It will be interesting to know what are the actual steps you are using to debug.
I've noticed that using Shfit+F8 does not stop at break point for me. But as said previously, using F5 from the page does work

Cheers,
L@u


Report this post
Top
  
Reply with quote  
 Post subject: Re: Xdebug Ignoring breakpoint
PostPosted: Thu Sep 05, 2019 1:34 pm 
Offline
Site Admin

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

1) Please, be sure that You use latest version 1.6.2.

2) Please, check the following value:
Project -> Modify->Project Home URL

Regards,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Xdebug Ignoring breakpoint
PostPosted: Thu Sep 05, 2019 1:53 pm 
Hi,

Yes I have the Home URL defaulted (in my case its http://localhost/test/

I am using 1.6.2

Thanks,
Steve


Report this post
Top
  
Reply with quote  
 Post subject: Re: Xdebug Ignoring breakpoint
PostPosted: Thu Sep 05, 2019 3:50 pm 
What commands do you use to launch the debugger ?
As I mention, for me, only F5 works, F8 and Shft+F8 will not stop at break point !


Report this post
Top
  
Reply with quote  
 Post subject: Re: Xdebug Ignoring breakpoint
PostPosted: Sat Sep 28, 2019 1:14 pm 
Today, after switching projects, the debugger wasn't stopping on breakpoints anymore.

I 've just exited CodeLobster and started again ... and then again it was stopping on breakpoints !

Just my 2cents !


Last bumped by Anonymous on Sat Sep 28, 2019 1:14 pm.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 102 guests


You can post new topics in this forum
You can 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