NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
v5.2 with Wine and a request for consideration


Joined: 03 Mar 2007
Posts: 72
Reply with quote
Hi Dimitri (et. al.),

May I propose that you attempt to build PhpED + DbListener using the Wine libraries?
- or -
May I propose that you work with WineHQ to resolve the one or two remaining OLE bugs in Wine associated with running the debug listener?

Wine has improved greatly and PhpED runs under Wine with no problem at all...until you invoke the Debug Listener. The debugger is invoked and you can step through the code, but you cannot stop the debugger or continue execution (PhpED or DbListener hangs). There seems to be a single OLE bug associated with the creation of the Registry Class used as the OLE channel reference. Would be magic to see this one issue resolved with your help. I realize you've stated Wine OLE is outside the scope of this board and I'll respect that. I really think it is down to this one problem.

As always, I think your product is the best and I look forward to running a current version on my Linux (Ubuntu 7.10 / Wine 9.4Cool configuration.

For the record, I could care less if the native Linux version ever catches up if a Wine version works with the debugger.

Thanks for listening.

Randy


Last edited by randy on Wed Nov 21, 2007 11:02 pm; edited 3 times in total
View user's profileFind all posts by randySend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
dbglistener 3.2.8 that will be released soon, works fine under Wine 0.9.48.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Mar 2007
Posts: 72
Reply with quote
What can I say...other than how great you guys are!

Thanks for your quick reply and great support.

Randy
View user's profileFind all posts by randySend private messageVisit poster's website
I've really got to hand it to nusphere


Joined: 13 Sep 2007
Posts: 11
Reply with quote
I was really considering moving to a java-based php debugger, because I was so frustrated with not being able to use my most important application on the mac. I don't mind virtualization, but its somewhat inconvenient to the rest of the computing experience. I have to hand it to the nupshere team -> I can tell you guys really listen to its user base and are constantly looking for ways to improve your product. I would be completely satisfied to use phped under wine and would stop complaining about a mac version...thanks for your hard work nusphere!
View user's profileFind all posts by jdavisbaconSend private message


Joined: 03 Mar 2007
Posts: 72
Reply with quote
dmitri wrote:
dbglistener 3.2.8 that will be released soon, works fine under Wine 0.9.48.


Hi...unfortunately I have the same symptoms using 3.2.8, but I've upgraded Wine to 0.9.49. I downgraded to Wine 0,9.48 to check with same results...limbo upon debug listener exit.

Dimitri can you define your Linux/Wine configuration for me? I would like to emulate it as closely as possible.

Also, the DbgListener will not set the code page under any circumstances. Log shows "Failed to set codepage to ...". I've attempted to set it through the 'Run & Debug' settings without success.

Thanks for your help,

Randy
View user's profileFind all posts by randySend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
what symptoms do you mean?
that it hangs upon stop or continue?
What php and web server do you use? Is it Apache that comes with your Linux?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Mar 2007
Posts: 72
Reply with quote
Symptom = The debugger is invoked and you can step through the code with all debug functions working. Immediately after the last statement in the PHP script is executed with debugger listening, PhpED and/or DbListener hangs.
I'm using SVR with the current 5.2.3 released php5. The symptoms are identical with Ubuntu (Debian) Apache2 install + php5.

To reproduce:
1. Invoke debug session
- SVR starts
- DbgListener starts
2. Debug script
- Everything works as expected
3. Hit the STOP icon OR Continue icon
- PhpEd enters suspended animation (freeze)
- DbgListener continues to show active (green arrow) and log window contents never change
- SVR icon no longer shows active (green arrow) as if it has received the complete header/output from the script

The only way to regain control of either DbgListener or PhpED is to kill the running processes.

I've attached three screen shots.






-----------
Thanks for all your help with this Dmitri,

Randy
View user's profileFind all posts by randySend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Win32 PHP is not that good under Wine...

I'd recommend you to try linux native apache + php.
create symlink to apache's htdocs, like below:
~/.wine/drive_c/myproject => /var/www/html

then set project properties:

project root: c:\myproject\
root url: http://localhost/
remote root: /var/www/html

and don't forget to install debugger module Smile

Regarding "failed to set code page" in the DbgListener, you may want to grab the following entry from any Windows:
HKEY_CLASSES_ROOT\MIME\Database\
and import it with wine's regedit

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Mar 2007
Posts: 72
Reply with quote
Yes....I had tried all of that. The results are identical, I get the same symptom.

One other note that applies to either configuration...

If I never run the debugger and exit PhpED normally the DbgListener.exe file is correctly exited. This seems to indicate OLE communication is correct with exception of returning after script execution is complete.

Here are the screen shots but running with Apache + Linux PHP as Apache module:
Apache:

Dbg Module:

DbgListener: (thanks for the registry tip)

View user's profileFind all posts by randySend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I did not experience this problem under FC7 with Wine 0.9.48, so I think it's somehow related to your Ubuntu 7.10.
Can you by any chance give it a try under FC7?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Mar 2007
Posts: 72
Reply with quote
Virtualization is a wonderful thing Smile

I'll put up an FC7 virtual machine and check things out. If it works I'll attempt to isolate the differences for you. I won't be able to get this done quickly...so please be patient.

Thanks for your insight.

Randy
View user's profileFind all posts by randySend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
would be much better to try w/o virtualization. This problem may have relation to kernel things like semaphores and I'm not sure that all kernel stuff can work the same way being virtualized.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
v5.2 with Wine and a request for consideration
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 2  

  
  
 Reply to topic