Login  Register

Re: Debugging macros in Fiji

Posted by Rasband, Wayne (NIH/NIMH) [E] on Oct 29, 2014; 4:23pm
URL: http://imagej.273.s1.nabble.com/Debugging-macros-in-Fiji-tp5010227p5010228.html

> On Oct 29, 2014, at 10:54 AM, Michael Fray <[hidden email]> wrote:
>
> Hello,
> quick question:
> Is there a way to 'debug' macros in Fiji?  As in, going stepwise through a macro (in the IJ1 language) and seeing the info in the Debug window.
>
> I've been doing this in ImageJ for a while, and recently switched over to Fiji (V. 2.0.0-rc-15/1.49j currently, on OS 10.10 currently), and I like the macro editor in Fiji, except for the loss of the 'Debug' menu and functionality.  Hopefully I'm just missing something.
>
> I've tried opening macros by Plugins > Macros > Edit...   or by Plugins > New > Macros, and I can't see any menu options for debugging.  I've also tried starting the debug mode by using <command> D, or <control> or <option> D, etc. with a macro open, with no luck.

Open the macro in the Fiji Script Editor, type cmd-A (Select All), cmd-C (Copy), close the Script Editor and type cmd-V (Paste). The macro will open in an ImageJ macro editor window (named “Clipboard”) that has a Debug menu. On Linux and Windows, use the control key instead for keyboard shortcuts.

-wayne

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