Exceptions |
Site Admin
|
Please submit a short example in php that will replicate the problem.
TIA. |
||||||||||||
|
|
Using: PHP 5, PhpED 4.6, Prado 3.3.
The fun starts when I set the breakpoint at any point of the project. Debugger stops and when I try to step to the next statement it simply jumps to the end of index.php (the starter). It shows the debug trace which is always the same: Code: #0 C:\PROJECTS\*********\Workspace\********\framework\pradolite.php(3358): TComponent->__get('_rf') #1 dbg_eval()(1): TControl->__get('_rf') *********************************************************** #13 {main} The deal is the debugger runs it's function dbg_eval that seems to be an extension of PHP. It's presumably used to retrieve breakpoint environment information. For some reason php ed always attempts to automatically retrieve this '_rf' variable of $this. Inside of this dbg_eval call all breakpoints are useless. However, exceptions work pefectly... Any workaround? Maybe, debugger settings? |
||||||||||||
Last edited by sergeymorkovkin on Sun Sep 24, 2006 2:23 am; edited 1 time in total |
|
Solved: Variable $this->_rf was in the watch list. However, exception inside of dbg_eval is still an issue.
|
||||||||||||
|
Site Admin
|
If you put a statement like $this->someproperty and this someproperty works through setters/getters, the getters will be called. If they raise an exception, it may cause further problems like what you experienced.
dbg_eval is not used for breakpoints, it only evaluates whatever you have in the Watches window and does so each time you perform stepXXX in the debugger. |
||||||||||||
|
|
Thank you, Dmitry.
It's all clear now. |
||||||||||||
|
Exceptions |
|
||
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