debug seems to be jumping over lines |
Veteran
|
Yes, it is weird -- I would have expected the next stop to be at line 3. If debugging a script on a remote server, I suggest you check that the version of the file on the remote server is the same as the local file (maybe the remote file is missing your line 3).
|
||||||||||||
_________________ |
RE: dEBUG MISSING LINES |
|
I restarted my PC and removed that code. Replaced it with:
$trdate = date('m/d/Y', strtotime($stdatestr)); $trstmonth = substr($trdate, 0,2); $trstyear = substr($trdate, 6,4); $trstmonth = $trstmonth * 1; // remove any leading zeros. and it tracks fine. This is a local system - no remote debugging. Thanks for the help. |
||||||||||||
|
|
I've experienced this before, but it turned out, that I was debugging unsaved file. It took me almost 10 minutes of total confusion to realized this, because the debug mysteriously ignored lines, jumped somewhere, etc. With unsaved files, this really could happen, because the debugger works with saved version, but you see unsaved version in the IDE. This obviously might result in unexpected behavior. Couldn't this be your problem?
|
||||||||||||
|
|
You may be correct. It is ok now and I thank you for your response.
|
||||||||||||
|
debug seems to be jumping over lines |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by