本文整理汇总了Java中consulo.dotnet.debugger.proxy.DotNetStackFrameProxy.getThread方法的典型用法代码示例。如果您正苦于以下问题:Java DotNetStackFrameProxy.getThread方法的具体用法?Java DotNetStackFrameProxy.getThread怎么用?Java DotNetStackFrameProxy.getThread使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类consulo.dotnet.debugger.proxy.DotNetStackFrameProxy
的用法示例。
在下文中一共展示了DotNetStackFrameProxy.getThread方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getValue
import consulo.dotnet.debugger.proxy.DotNetStackFrameProxy; //导入方法依赖的package包/类
@Nullable
@Override
public DotNetValueProxy getValue(@NotNull DotNetStackFrameProxy frameProxy, @Nullable DotNetValueProxy proxy)
{
try
{
MonoThreadProxy monoThreadProxy = (MonoThreadProxy) frameProxy.getThread();
MonoValueProxyBase<?> monoValueProxyBase = (MonoValueProxyBase<?>) proxy;
return MonoValueProxyUtil.wrap(myMirror.value(monoThreadProxy.getThreadMirror(), monoValueProxyBase == null ? null : (ObjectValueMirror) monoValueProxyBase.getMirror()));
}
catch(ThrowValueException e)
{
throw new DotNetThrowValueException(frameProxy, MonoValueProxyUtil.wrap(e.getThrowExceptionValue()));
}
}
示例2: setValue
import consulo.dotnet.debugger.proxy.DotNetStackFrameProxy; //导入方法依赖的package包/类
@Override
public void setValue(@NotNull DotNetStackFrameProxy threadProxy, @Nullable DotNetValueProxy proxy, @NotNull DotNetValueProxy newValueProxy)
{
MonoThreadProxy monoThreadProxy = (MonoThreadProxy) threadProxy.getThread();
MonoObjectValueProxy monoValueProxyBase = (MonoObjectValueProxy) proxy;
MonoValueProxyBase<?> monoNewValueProxyBase = (MonoValueProxyBase<?>) newValueProxy;
myMirror.setValue(monoThreadProxy.getThreadMirror(), monoValueProxyBase == null ? null : monoValueProxyBase.getMirror(), monoNewValueProxyBase.getMirror());
}
示例3: setValue
import consulo.dotnet.debugger.proxy.DotNetStackFrameProxy; //导入方法依赖的package包/类
@Override
public void setValue(@NotNull DotNetStackFrameProxy frameProxy, @Nullable DotNetValueProxy proxy, @NotNull DotNetValueProxy newValueProxy)
{
MonoThreadProxy monoThreadProxy = (MonoThreadProxy) frameProxy.getThread();
MonoObjectValueProxy monoValueProxyBase = (MonoObjectValueProxy) proxy;
MonoValueProxyBase<?> monoNewValueProxyBase = (MonoValueProxyBase<?>) newValueProxy;
myMirror.setValue(monoThreadProxy.getThreadMirror(), monoValueProxyBase == null ? null : monoValueProxyBase.getMirror(), monoNewValueProxyBase.getMirror());
}