NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
bug - PhpED 22042, DBG 13.0.31.64495


Joined: 18 Mar 2019
Posts: 19
Location: Canada
Reply with quote
Dmitri,

I recently upgrade to PhpED 22 Build 22042, 64 bit. I just found a bug on the debugger.

- Running PHP 8.3 on the developer server,
- Updated the DBG extension to 13.0.31.64495
- Restart the Apache server to load the new extension.
- The PHP reports that the DBG correct version is loaded.
- Open PhpED an a project that I used to debug with version 21.
- I open Google Chrome that has the "DBG debugger toolbar" plugin version 1.2
- Put a breakpoint on my code.
- "Enable debug" on the plug-in
- Refresh the page, nothing happens.
- Verify every parameter, and it still does not work.
- Open Firefox and manually added the debug variable on the URL "?DBGSESSID=1@localhost:7870;d=1,p=0". It works.
- Now back to Chrome, deleted the DBGSESSID cookie and and put the same URL variable as on Firefox, and now it works.
- Tried to use the plugin again and it doesn't work again.
- Then carefully looked at the cookie and I can see that it contains ",s=1" extra. I removed the that extra flag and now it works.
- I remembered that the plugin has an option for "session (continuation)", uncheck the option, removed the whole cookie, enabled the debugger, it doesn't work again.
- Checked the option plugin and the the session checkbox is back. Disabled again open the option, the UI it doesn't disabled it.
- To check if the problem is not 100% related to Chrome plugin, I tried the full variable on Firefox with the "?DBGSESSID=1@localhost:7870;d=1,p=0,s=1" and now it doesn't work.

So this is my conclusion the new debugger cannot handle the session continuation flag (s=1), and the Chrome plugin has a bug that cannot disable the session continuation checkbox from the UI.

For now, my workaround solution is enable the debugger plugin, refresh the page (no debug), edit the cookie and remove the ",s=1", refresh again, debug now works.
View user's profileFind all posts by carloshSend private message
bug - PhpED 22042, DBG 13.0.31.64495
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 vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic