How to Debug in Windchill Environment

  • 291
  • 0

Debug in Windchill Environment

1. Eclispe Remote Debug
2. Windchill Shell to execute java class to see the screen log.
3. 『Save as』to other class name to avoid stop/start windchill action.
4. User『workflow teamplate』to avoid stop/start windchill action.

Eclispe Remote Debug
0. 『Telnet hostname port』 to check the connectivity
1. Alter <WT_HOME>\site.xconf
2. Run 『xconfmanager -p』 under windchill shell
3. Run 『windchill stop/windchill start』under windchill shell
4. Set Eclipse Debug Configuration
  4.1. Debug > Debug Configurations
  4.2. Remote Java Application > (Create or select an existing) > Update the Host and Port Information
  4.3 click 『debug』
5. Use following command under windchill sehll to listening the socket
  5.1. java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000