VS2005, VS.PHP [de] 2.4.5.4535, XDebug -> Idle on funktion die();
Posted April 22nd, 2008 by verwegen
I just tried the search-funktion, but nothing of the topics helped.
I'm using the config from above. I got more problems, but this is the most painful.
Everytime i hit a line like
$conn_sess = mysql_connect($mysql_host, $mysql_user, $mysql_passwort) or die("No Connection. ".mysql_error());
Visual Studio (or vs.php or xdebug) keeps hanging on. Visual Studio than tells me in a taskbar ballon that it's idle.
If i set the Breakpoint after the code line from above, it works fine. I can hover the vars like $mysql_host and get the Intellisense Info. BUT if i hover the die()-funktion it will idle till end of time again.
Any ideas?


Try the latest beta
Try the latest beta build:
http://www.jcxsoftware.com/jcx/vsphp/beta
This will solve the hang problem but it may close the debug session.
This is a problem on Xdebug where it bails out when you evaluate an invalid expression. This is been worked out by the XDebug team. In the meantime I recommend you to use Dbg.