Login  Register

Re: debug a macro

Posted by Dan McDonald on May 13, 2016; 7:21pm
URL: http://imagej.273.s1.nabble.com/debug-a-macro-tp5016433p5016435.html

Hi Ed,

On the main window Click > Plugins > Macro > Edit.
ImageJ will open a dialog asking which macro to edit.
Select your macro and voila.
The Debug option has nice features I use all the time.

Dan

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Ed Siefker
Sent: Friday, May 13, 2016 2:54 PM
To: [hidden email]
Subject: debug a macro

The imagej documentation refers to a debug menu.
I cannot find it.  It is neither in the main window, nor is it in the macro editor window.

Pressing ctrl-d, as specified in the documentation, doesn't work.  If focus is on an image, it executes "run("Draw", "slice");".  If focus is in the macro editor, it deletes the current line.

I am referring to the documentation found here:
http://rsb.info.nih.gov/ij/developer/macro/macros.html#debugger
I am using FIJI based on ImageJ 1.51a.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html