`
li.feixiang
  • 浏览: 120524 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

Debugging Windchill servers with Netbeans

阅读更多
Debugging
How to use Netbeans debugger when your code is running in the Windchill® Method Server?

In order to specify that a debugger can be attached to the process, we need to add the following option to the Method Server Java command :

-Xrunjdwp:transport=dt_socket,server=y,address=Port,suspend=y or n

For this How To, let’s choose the port 8000, and let’s say that the MethodServer should not wait for debugger attachement (suspend=n), the option will looks like this :

-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n

Start a Windchill® shell and execute :

xconfmanager -s wt.manager.cmd.MethodServer.debug.args=
-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n -p
 

Start Apache/Tomcat/Method server, under Netbeans you can now attach the debugger to the method server by selecting “Attach Debugger…” under the “Debug” menu (using the parameters specified in the property file) :

Windchill Method Server Netbeans debug

You may also debug in Tomcat, on 9.1, by updating the batch file that starts tomcat (Note that Tomcat is embedded from release 10)

w:/ptc/Tomcat/bin/wttomcat_start.bat
 

And add the following line.

rem Add debugging
set JAVA_OPTS=%JAVA_OPTS% 

-Xrunjdwp:transport=dt_socket,server=y,address=8001,suspend=n
 
Note the different port number to allow use to debug in the MS and the Tomcat in the same session
分享到:
评论

相关推荐

    Debugging iOS Applications with IDA Pro

    Debugging iOS Applications with IDA Pro, 最新版本,enjoy it

    debugging_with_gdb(中文版pdf)

    根据提供的信息,我们可以总结并详细解释与“debugging_with_gdb(中文版pdf)”相关的知识点。这份文档似乎是一份关于使用 GDB(GNU Debugger)进行调试的手册或指南的中文版 PDF 文件。GDB 是一个非常强大的开源调试...

    Debugging With GDB中文版

    This is the Tenth Edition, of Debugging with GDB: the GNU Source-Level Debugger for GDB (GDB) Version 8.1.90.20180814-git. Copyright © 1988-2018 Free Software Foundation, Inc. Permission is granted...

    Debugging With GDB 无水印pdf

    Debugging With GDB 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    debugging with gdb中文带书签特别版.pdf

    《Debugging with gdb中文带书签特别版》是一本关于GNU源代码级调试器GDB的中文教程书籍,适配gdb版本6.8.50.***。书中详细介绍了GDB的各种功能、命令以及如何使用该工具进行有效的程序调试。 首先,书中提供了一个...

    Debugging Mac OSX Applications with IDA Pro

    Debugging Mac OSX Applications with IDA Pro, 2020最新版本,非常详细,enjoy it!

    Debugging.with.Fiddler

    Debugging.with.Fiddler 带书签

    Debugging-with-GDB.zip_Debugging with GDB

    《使用GDB进行调试》 GDB(GNU Debugger)是开源社区GNU开发的一款强大的源代码级调试器,广泛应用于C、C++等编程语言。它允许程序员在运行时检查和控制程序,查找并修复错误,从而提高软件的质量和可靠性。...

    Debugging with Fiddler

    Debugging with Fiddler,介绍Fiddler的书籍

    Debugging.with.Fiddler.中文.PDF

    Debugging.with.Fiddler.中文.PDF 有标签

    Debugging Linux modules with LinuxScope

    ### 使用LinuxScope与BDI2000调试Linux模块 #### 概述 本文主要介绍如何使用LinuxScope结合BDI2000调试Linux模块。LinuxScope是一款强大的调试工具,适用于Linux内核及驱动程序的调试工作。BDI2000作为一款硬件...

    Debugging with gdb Tenth Edition

    《使用gdb进行调试 第十版》是介绍GNU源码级调试器gdb的官方文档。本书由Richard Stallman、Roland Pesch、Stan Shebs等多位作者撰写,旨在为用户提供一个全面的gdb使用指南,涵盖gdb版本7.5至1.0.53。...

    Debugging with gdb(英文)

    gdb调试工具官方介绍文档 Debugging with gdb The gnu Source-Level Debugger Tenth Edition, for gdb version 10.0.50.20200111-git (GDB) Richard Stallman, Roland Pesch, Stan Shebs, et al.

    Debugging_with_GDB.pdf

    GDB 调试工具概述 GDB(GNU symbolic debugger)是一款功能强大且灵活的调试工具,广泛应用于 C/C++ 语言开发中。该调试工具提供了许多功能强大的特性,能够帮助开发者更好地了解程序的执行过程,排查程序中的错误...

    debugging_with_GDB_6.8_中文版

    根据提供的文件信息,我们可以总结并深入探讨与 GDB 6.8 调试器相关的几个关键知识点。GDB(GNU 调试器)是一款功能强大的开源调试工具,广泛应用于 C 和 C++ 程序的调试。下面将详细介绍与 GDB 6.8 相关的一些核心...

    Debugging.with.gdb.中文版.pdf

    The GNU Debugger allows you to see what is going on "inside" a program while it executes - or what a program was doing at ... it is also designed to work closely with the GNU Compiler Collection (GCC).

Global site tag (gtag.js) - Google Analytics