top bar

Difference between revisions of "Debugging MM on MacOSX and Unix"

(New page: Debugging of the C++ code on Mac and Unix can proceed as follows: cd to your ImageJ directory that contains a self-starting Micro-Manager plugin: cd ~/ImageJ Start gdb debugging jav...)
 
Line 11: Line 11:
 
Now tell java on gdb to run ImageJ:
 
Now tell java on gdb to run ImageJ:
  
   (gdb) r -cp ij.jar ImageJ
+
   (gdb) r -cp ij.jar ij.ImageJ
  
 
Control-C can interrupt execution.
 
Control-C can interrupt execution.
  
 
Please refer to the [http://sourceware.org/gdb/current/onlinedocs/gdb_toc.html gdb documentation] for debugging commands.
 
Please refer to the [http://sourceware.org/gdb/current/onlinedocs/gdb_toc.html gdb documentation] for debugging commands.

Revision as of 16:40, 30 March 2009

Debugging of the C++ code on Mac and Unix can proceed as follows:

cd to your ImageJ directory that contains a self-starting Micro-Manager plugin:

   cd ~/ImageJ

Start gdb debugging java:

   $ gdb -arch i386 java

Now tell java on gdb to run ImageJ:

  (gdb) r -cp ij.jar ij.ImageJ

Control-C can interrupt execution.

Please refer to the gdb documentation for debugging commands.

© Micro-Manager : Vale Lab, UCSF 2006-2011 | All Rights Reserved | Contact