缓存桢过滤。。上一桢下一桢(一)创建过滤事件

plugin.xml中

 

         <!--  wangmin 2015/9/8  kgtp action   -->  
         
            <action
               class="org.eclipse.debug.internal.ui.actions.StepFrameDownActionDelegate"
               disabledIcon="icons/full/kgtp/down_frame_disable.gif"
               hoverIcon="icons/full/kgtp/down_frame_disable.gif"
               icon="icons/full/kgtp/down_frame.gif"
               id="org.eclipse.debug.internal.ui.commands.actions.StepFrameDownCommandActionDelegate"
               label="%StepDownFrame.label"
               definitionId="org.eclipse.debug.ui.commands.StepFrameDown"
               toolbarPath="threadGroup"
               tooltip="down step">
          </action>
               <action
               class="org.eclipse.debug.internal.ui.actions.StepFrameDownActionDelegate"
               disabledIcon="icons/full/kgtp/up_frame_disable.gif"
               hoverIcon="icons/full/kgtp/up_frame_disable.gif"
               icon="icons/full/kgtp/up_frame.gif"
               id="org.eclipse.debug.internal.ui.commands.actions.StepFrameUpCommandActionDelegate"
               label="%StepUpFrame.label"
               definitionId="org.eclipse.debug.ui.commands.StepFrameUp"
               toolbarPath="threadGroup"
               tooltip="up frame">
            </action>  
       
         
                <action
               class="org.eclipse.debug.internal.ui.actions.kgtpdebug.ShowKgtpFrameSelectAction"
               disabledIcon="icons/full/kgtp/select_frame.gif"
               hoverIcon="icons/full/kgtp/select_frame.gif"
               icon="icons/full/kgtp/select_frame.gif"
               id="org.eclipse.debug.internal.ui.actions.kgtpdebug.ShowKgtpFrameSelectAction"
               label="%KgptSelectFrame.label"
               toolbarPath="threadGroup"
               tooltip="select tracepoint">
            </action>  
 
           
          <!--  wangmin 2015/9/8  kgtp action   end  -->

 

ShowKgtpFrameSelectAction类

 

 

创建

 

 

####################

Thread中

getKGTPStackFrames()   getStackFrameCount() stackdepth=0

 

-stack-info-depth下发

新建一个线程对象

去掉这个

setCurrentFrame

这里下发命令

setCurrentFrame

 

 

问题

getKGTPStackFrameCount

注释掉 

Target target = (Target)getTarget();
ICDIThread currentThread = target.getCurrentThread();
target.lockTarget();

 

setCurrentFrame下发命令明天继续

 

posted on 2015-09-17 17:38  代码菇凉  阅读(153)  评论(0)    收藏  举报

导航