code/Debug/Block/View/Sidebar.php
public function getLimitOptionsSelect()
    {
        /** @var Sheep_Debug_Helper_Filter $filterHelper */
        $filterHelper = Mage::helper('sheep_debug/filter');

        /** @var Mage_Core_Block_Html_Select $select */
        $select = $this->getLayout()->createBlock('core/html_select');

        $select->setName('limit')
            ->setId('limit')
            ->setValue($this->getRequest()->getParam('limit', $filterHelper->getLimitDefaultValue()))
            ->setOptions($this->getOptionArray($filterHelper->getLimitValues()));

        return $select->getHtml();
    }
public function getLimitOptionsSelect()
    {
        /** @var Sheep_Debug_Helper_Filter $filterHelper */
        $filterHelper = Mage::helper('sheep_debug/filter');

        /** @var Mage_Core_Block_Html_Select $select */
        $select = $this->getLayout()->createBlock('core/html_select');

        $select->setName('limit')
            ->setId('limit')
            ->setValue($this->getRequest()->getParam('limit', $filterHelper->getLimitDefaultValue()))
            ->setOptions($this->getOptionArray($filterHelper->getLimitValues()));

        return $select->getHtml();
    }
Returns html for limit selects

@return string
@throws Exception