noob! need help |
Veteran
|
Hi, could you please do this troubleshooting:
First run phpinfo() and see what is the dbg version installed there. If it is anything but dbg -3.11.1 please update to the latest dbg (I am trying to rule out free version of dbg being there, from say some other IDE) If it is fine then please: Keep your project settings. Remove DebugBreak() for now. Close PhpED and start it again Open admin.php in the editor and hit Run in Debugger. Thanks! |
||||||||||||
|
|
|
||||||||||||||
|
Veteran
|
If I understood you correctly, debugginng actually works - however, please upgrade to the latest dbg module if you can, it is upto 3.11 now, you are running 3.1
I don't quite understand the problem with include files - just put the breakpoint there (no need for debugbreak in this case) and the debugger should stop there when it hits it |
||||||||||||
|
|
Don’t work! Why do you think I use debugbreak()? I put a breakpoint in one of the file included and is not stopping. Just ignore the breakpoint. it is frustrating.... Thx! |
||||||||||||||
|
Site Admin
|
You still ignore Yury's suggestion. Why don't you update debugger module to version 3.1.11? Then if you use that old debugger, could you check if you work with fresh IDE version?
Regarding breakpoints, could you please create the two files shown below: fileA.php: <?php include "fileB.php"; ?> fileB.php: <?php echo "hello"; ?> then set breakpoint on the fileB.php, make fileA.php current and run it in debugger (F9). Let know about the results. |
||||||||||||
_________________ The PHP IDE team |
|
Sorry dmitri for my stupid question. I will update debugger to version 3.1.11. I use 4.6(build 4616). And your example is working. But there is a small difference. After first step (admin.php include login.php) in log "debug session is finished" Then clicking on menu (created by a successfully login) other debug session is started but breakpoint put in other included file is ignored this time. Then I read about debugbreak() which stop the execution but in watch appear "Debugger is not in UI state" If this can be fixed(by settings or other means) it will be ok to me. By the way if I put the breakpoint in login.php is stop execution in first debug session. Breakpoints are linked somehow with debug session? Thx |
||||||||||||||
|
Site Admin
|
where did you get it from? This particular build# is not available from any official sources for many months now. If it is an evaluation version, you're abusing the software and I'm asking you to stop doing this. If you can't afford purchasing PhpED, try to find something else for free. |
||||||||||||||
_________________ The PHP IDE team |
|
1. source:friend working in php(it is evaluation version- Evaluation copy all over the screen) . 2. i try to find what is best for me(now i try ver 5 evaluation) because i am new(or noob if you like). And until now your support is very good. 3. until now your software is The Best(i try Zend ,PhpEclipsse, PhpEdit ,etc). I stil have one software left to test but time pressing me. 4. if i buy ver 5 you will help fix my problem? Thx |
||||||||||||||||
|
|
ok i just buy vers 5 standard.
Dmitri your example is to simple To simulate my problem filea.php become <? $id = isset($HTTP_POST_VARS['id']) ? $HTTP_POST_VARS['id'] : (isset($HTTP_GET_VARS['id']) ? $HTTP_GET_VARS['id'] : 0 ); if ($id==0){ ?> <a href="../dmitri/filea.php?id=1">Click here to include fileb.php</A> <? }; if($id==1) include_once("fileb.php"); ?> After first run debug session is ended. clicking a new session is started BUT breakpoint exist and is ignored. With debugbreak() is stop executing, watch value are ok now. Any idea? Tnx |
||||||||||||
|
Site Admin
|
I'm not sure what you mean under "clicking a new session". Did you click Run In Debugger button to start debug session or what?
Where (on what file/line number) did you set it? |
||||||||||||||||
_________________ The PHP IDE team |
noob! need help |
|
||
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