This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186260 - Unable to view _invokeParams array of Zend_Controller_Front::setParam() after setting breakpoint on Zend_Controller_Front::getInstance()->setParam('noViewRenderer'), which I added to index.php
Summary: Unable to view _invokeParams array of Zend_Controller_Front::setParam() after...
Status: RESOLVED DUPLICATE of bug 181177
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: rmatous
URL: http://zf-test/index/index/name/keith...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 17:40 UTC by kkruecke
Modified: 2010-06-15 14:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kkruecke 2010-05-17 17:40:34 UTC
Product Version = NetBeans IDE Dev (Build 201005030200)
Operating System = Linux version 2.6.31-21-generic running on i386
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01
Comment 1 Peter Pis 2010-05-18 07:50:59 UTC
Reassigning.
Comment 2 Tomas Mysik 2010-05-18 08:16:29 UTC
Sorry, I really have no idea what is the problem - can you provide more detailed description and exact steps to reproduce, please? Just reopen this issue.

Thanks.
Comment 3 kkruecke 2010-05-18 15:23:14 UTC
The basic problem is: I tried to set a watch and it failed with an IDE popup. It might just be an XDebug problem--I don't know.The steps to recreate:
1. Create a PHP project with Zend Framework support
2. Edit the ZF-generated index.php in the public subdir, and add:

// Added this line before the last line of $application->bootstrap()->run();
// Note: The required 2nd parameter to setParam() is missing.
Zend_Controller_Front::getInstance()->setParam('noViewRenderer'); 

3. Set a break point on the line above. Step into the code until you get to
the function setParam($name, $value)

5. Step over the first two lines of setParams
       $name = (string) $name;
        $this->_invokeParams[$name] = $value;
        return $this; // <--You are now here

6. In the Variables debug window, add a New Watch for:
   $this->_invokeParams

I then got the IDE popup asking me to report a bug.
Comment 4 Tomas Mysik 2010-05-18 15:29:50 UTC
Thanks for the description.
Comment 5 Filip Zamboj 2010-05-21 14:29:34 UTC
> 6. In the Variables debug window, add a New Watch for:
>    $this->_invokeParams

Using watches is not recommended because it causes SocketException error. That's why watches are disabled by default. 

> I then got the IDE popup asking me to report a bug.
What kind of bug? Was it socket exc. or something else?
Comment 6 rmatous 2010-06-15 14:05:09 UTC

*** This bug has been marked as a duplicate of bug 181177 ***