请教Zend Studio下如何调试Module

用的ide是zend studio,用zend debugger,平时debug yii应用时都正常,最近在debug一个module时总是有问题,进入debug模式,刚往下走就异常退出,提示:Using $this when not in object context,代码定位在/modules/xxx/views/default/index.php




<?php

/* @var $this DefaultController */


$this->breadcrumbs=array(

	$this->module->id,

);



在正常模式下,程序都跑的没问题

而且很奇怪,不管调试什么代码,包括自带的protected/controller/SiteController的代码,调试器总是从/modules/xxx/views/default/index.php这个入口开始。我很确认,我重置了所有的调试条件,设定的url入口是从site/index.php开始的,并且清空了浏览器缓存,重启了zend studio,并重启了php的进程。