Penguin

Differences between current version and revision by previous author of jdb(1).

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 5 Last edited on Wednesday, September 10, 2003 9:16:56 pm by JohnMcPherson
Older page: version 4 Last edited on Sunday, August 10, 2003 5:11:26 pm by CraigBox Revert
@@ -25,15 +25,15 @@
 Another way to use jdb is by attaching it to a Java VM that is already running. A VM that is to be debugged with jdb must be started with the following options: 
  
 |Option|Purpose 
 |-Xdebug| Enables debugging support in the VM. 
-|-Xrunjdwp:trans­ port=dt_socket,server=y,suspend=n|Loads in-process debugging libraries and specifies the kind of connection to be made. 
+|-Xrunjdwp:trans� port=dt_socket,server=y,suspend=n|Loads in-process debugging libraries and specifies the kind of connection to be made. 
  
 For example, the following command will run the !MyClass application and allow jdb to connect to it at a later time: 
  
  example% jdb -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n 
  
-You can then attach jdb to the VM with the following comm­mand
+You can then attach jdb to the VM with the following command
  
  example% jdb -attach 8000 
  
 Note that !MyClass is not specified in the jdb command line in this case because jdb is connecting to an existing VM instead of launching a new one. 
@@ -87,9 +87,9 @@
  
  stop in !MyClass.clinit 
 clinit identifies the static initialization code for !MyClass. 
  
-If a method is overloaded, you must also specify its argu­ ment types so that the proper method can be selected for breakpoint. For example, 
+If a method is overloaded, you must also specify its argu� ment types so that the proper method can be selected for breakpoint. For example, 
  
  !MyClass.myMethod(int,java.lang.String) 
  
 or 
@@ -129,9 +129,9 @@
 ;__-attach address__:Attaches the debugger to previously runningVM using the default connection mechanism. 
 ;__-launch__:Launches the debugged application immediately upon startup of jdb. This option removes the need for using the run command. The debuged application is launched and then stopped just before the initial application class is loaded. At that point, you can set any necessary breakpoints and use the __cont__ command to continue execution. 
 ;__-J option__: Pass option to the Java virtual machine, where option is oneoftheoptions described on the man page for the java application launcher, java(1). For example, -J-Xms48m sets the startup memory to 48 megabytes. It is a common convention for -J to pass options to the underlying virtual machine. 
  
-Other options are supported for alternate mechanisms for connecting the debugger and the VM it is to debug. The Java Platform Debugger Architecture has additional docu­  
+Other options are supported for alternate mechanisms for connecting the debugger and the VM it is to debug. The Java Platform Debugger Architecture has additional docu�  
 mentation on these connection alternatives. 
  
 !!SEE ALSO 
 java(1), javac(1), javadoc(1), javah(1), javap(1) 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.