Zend debugger executing when stoppped

General discussion on Zend Studio

Zend debugger executing when stoppped

Postby pedr4276 on Mon Apr 17, 2017 8:18 am

I'm using Zend Studio 13.5 and the Zend Debuuger got crazy.
I start debugging and stop on first line, but the script continues running.
I'm testing a mysql update on some records and tryng to do one by one. But when I go to database to see what happened, undreds of records have been updated. I'm sure the query just updates one record with a certain ID.
A few seconds later when I count the update records again, a few undreds have been updated since last count.
The debuguer is stopped on the line.
I remember a few days ago I tried to make debugging on the server, but this particular script even dooesn't exists on the remote server (where the database is located).
It seems that when I start debugging, two sessions are started. One executing and one debugging.
pedr4276
 
Posts: 5
Joined: Tue Jun 07, 2016 3:01 pm

Re: Zend debugger executing when stoppped

Postby pedr4276 on Mon Apr 17, 2017 8:36 am

Correction:
It happens when I clique the 'Play' button and it stops on a breakpoint.
In fact, apparently the debuuger is stopped, but it isn't.
And even more strange. If I close zend studio, the execution continues.
pedr4276
 
Posts: 5
Joined: Tue Jun 07, 2016 3:01 pm

Re: Zend debugger executing when stoppped

Postby pedr4276 on Mon Apr 17, 2017 6:37 pm

Not sure, but I thing I found the answer.
I have Apache installed but I'm using Zend Studio internal server for debugging.
If apache is started, it seems that when I start debugging, Apache also starts executing the script.
I stoped apache and just the debugging lines are executed.
Anyone knows if there is a way of avoiding apache start executing a script that I'm debugging ?

Tks
pedr4276
 
Posts: 5
Joined: Tue Jun 07, 2016 3:01 pm

Re: Zend debugger executing when stoppped

Postby pedr4276 on Mon Apr 17, 2017 9:56 pm

No. Still executing when apache is stopped.
pedr4276
 
Posts: 5
Joined: Tue Jun 07, 2016 3:01 pm


Return to Zend Studio

Who is online

Users browsing this forum: jør337 and 5 guests