码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-09-17 19:38:52      阅读:126      评论:0      收藏:0      [点我收藏+]

标签:

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下发命令明天继续

 

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

标签:

原文地址:http://www.cnblogs.com/codeGirl-wangMin/p/4817083.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!