首页 > 其他 > 详细

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

时间:2015-09-17 19:38:07      阅读:211      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!