Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If Deskzilla hangs, it will help developers if you can take In some situations you may need to make a "thread dump" of the current state of the application.JIRA Client/Deskzilla to help the developers understand what is causing the problem. Here is how to do it.

1.

...

Manual thread dump (

...

You can use StackTrace tool available here: http://www.adaptj.com/root/main/download. Just launch it using Java Web Start, click on "Process ID" selection, choose Deskzilla process, then click the next button called "Thread dump". The window will populate with debug information -- use Select All, Copy or Save to send this information to us.

2. Manual thread dump (Windows)

...

Windows)

Run JIRA Client/Deskzilla in verbose mode. To do this, run the script, found in "bin" sub-folder under the program installation folder. The script may be named:

  • debug.bat or debug.sh
  • verbose_jiraclient.bat or verbose_jiraclient.sh

Once you run it you will have a console window with some debugging messages. Click in that window and press Ctrl+Break. Thread dump will be printed. Scroll up to the beginning of the thread dump, then right click in the top left corner and select "Edit | Mark" menu item. Use your mouse or keyboard to select all information that's been printed and press Enter to copy it to clipboard. Paste from clipboard into e-mail to our support or anywhere else.

If you don't see the beginning of the thread dump, you need to increase the screen buffer for that window. To do that, click in the upper left corner of the console window, select Properties, then increase Height in the Layout | Screen Buffer Size block. Once screen buffer is extended, you'll need to press Ctrl+Break once again.

...

  1. Open the properties dialog box by right clicking on the title bar and select "Properties".
  2. Select the Layout tab.
  3. Under Screen Buffer Size, set the Height to 3000.
  4. Click OK.
  5. With the same command console in focus, press CTRL-BREAK. This will output the thread dump to the command console.
  6. Scroll back in the command console until you reach the line containing "Full thread dump".
  7. Right click the title bar and select Edit -> Mark. Highlight the entire text of the thread dump.
  8. Right click the title bar and select Edit -> Copy. The thread dump can then be pasted into a text file.

2. Manual thread dump (Linux / Mac OS X)

You need to run JIRA Client/Deskzilla with a terminal -- either by launching it in verbose mode or launching manually from the command line. Use "ps" utility to learn the process id (PID) of the running application, and then use command "kill -QUIT PID". Thread dump will be printed on the console.