Hi:
I just compiled ImageJ and some of its plugins using netbeans based on http://rsb.info.nih.gov/ij/developer/NBTutorial.html and it works fine. Now I want to debug the plugins but it can not go to the breakpoints. Also based on the documentation of http://rsb.info.nih.gov/ij/developer/NBTutorial.html 17. Go to Window>Debugging>Sources 18. Check all the folders in the Sources tab 19. Run you plugin from the ImageJ plugins menu. NetBeans will debug your plugin and stop at any specified breakpoints When I go to "Window>Debugging>Sources", nothing shows. Anybody can tell me why? Thanks. Albert ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs |
Hi there,
I may be wrong here, but I am using NetBeans 6.0 to debug some Ruby code right now, and the way you introduce breakpoints there is by simply going into the debug mode and moving between the files and putting breakpoints in. Boris. xian lee wrote: > Hi: > > I just compiled ImageJ and some of its plugins using > netbeans based on > http://rsb.info.nih.gov/ij/developer/NBTutorial.html > and it works fine. > > Now I want to debug the plugins but it can not go to > the breakpoints. > > Also based on the documentation of > http://rsb.info.nih.gov/ij/developer/NBTutorial.html > > 17. Go to Window>Debugging>Sources > 18. Check all the folders in the Sources tab > 19. Run you plugin from the ImageJ plugins menu. > NetBeans will debug your plugin and stop at any > specified breakpoints > > When I go to "Window>Debugging>Sources", nothing > shows. > > Anybody can tell me why? > > Thanks. > > Albert > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > -- *Boris Epstein National Resource For Imaging Mass Spectrometry <http://www.nrims.hms.harvard.edu/> Cambridge, MA Mobile: (617) 816-9654* The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. |
In reply to this post by xian lee
Hi Albert,
There have been 2 recent posts on this topic on this mailing list: "ImageJ plugin development using (external) debugger" Started 2008/01/21 "Help with Netbeans and plugins" Started 2007/12/23 Maybe they can help you. -Sami Badawi www.shapelogic.org |
In reply to this post by xian lee
Hi,
When you click Window->Debugging->Sources, the Sources window should be displayed in one of the panes, but it might just be as a tab in one of the panes ( I think by default it's in the lower right hand one). Look for a tab with "Sources" on it. xian lee <[hidden email]> Sent by: ImageJ Interest Group <[hidden email]> 01/24/2008 02:47 PM Please respond to ImageJ Interest Group <[hidden email]> To [hidden email] cc Subject Debug using NetBeans Hi: I just compiled ImageJ and some of its plugins using netbeans based on http://rsb.info.nih.gov/ij/developer/NBTutorial.html and it works fine. Now I want to debug the plugins but it can not go to the breakpoints. Also based on the documentation of http://rsb.info.nih.gov/ij/developer/NBTutorial.html 17. Go to Window>Debugging>Sources 18. Check all the folders in the Sources tab 19. Run you plugin from the ImageJ plugins menu. NetBeans will debug your plugin and stop at any specified breakpoints When I go to "Window>Debugging>Sources", nothing shows. Anybody can tell me why? Thanks. Albert ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs |
In reply to this post by xian lee
Hi Xian Lee,
The only way to see the folders is by going into debugging mode. I mean, first you have to go to Run -> Debug Main Project when the ImageJ window appears, then you can go to Window -> Debugging -> Sources then you check all the folders in the Sources tab and voila! Hope this helps, Maria -- Dr. Maria E. Barilla Digital Systems & Vision Processing Group Electronic, Electrical and Computer Engineering School The University of Birmingham, UK On Thu, 24 Jan 2008, xian lee wrote: > Hi: > > I just compiled ImageJ and some of its plugins using > netbeans based on > http://rsb.info.nih.gov/ij/developer/NBTutorial.html > and it works fine. > > Now I want to debug the plugins but it can not go to > the breakpoints. Please see attached the screen catch > file (debug1.jpg). > > Also based on the documentation of > http://rsb.info.nih.gov/ij/developer/NBTutorial.html > > 17. Go to Window>Debugging>Sources > 18. Check all the folders in the Sources tab > 19. Run you plugin from the ImageJ plugins menu. > NetBeans will debug your plugin and stop at any > specified breakpoints > > When I go to "Window>Debugging>Sources", nothing shows > (see attached debug2.jpg). > > Anybody can tell me why? > > Thanks. > > Albert > > > > > > On Wed, 27 Sep 2006 14:21:16 +0100, Maria E. Barilla > <[hidden email]> wrote: > >> Dear Nilesh, >> >> I think you need to be sure you did steps 17 to 19 of > "Compiling and >> Debugging Plugins". >> >> http://rsb.info.nih.gov/ij/developer/NBTutorial.html >> >> So repeat the steps 17 to 19 and make sure you check > all the folders in >> the Source tab. They must be something like: >> >> - javasubdirectory/src.zip >> - ImageJ/source/ij >> - ImageJ/source/plugins >> >> Steps 17 to 19: >> >> 17. Go to Run>Debug Main Project (ImageJ will run. > The plugin you created >> will be in the plugins menu) >> 18. Go to Window>Debugging>Sources >> 19. Check all the folders in the Sources tab >> >> Doing so you must be able to debug your plugins step > by step. >> >> Kind regards, >> >> Maria >> >> >> On Tue, 26 Sep 2006, Powar, Nilesh wrote: >> >>> Dear all, >>> >>> NetBeans builds the ImageJ source and also runs it > correctly. When >>> debugging a plugin, the NetBeans Step Over and Step > Into commands do not >>> debug the the plugin step-by-step, instead they run > from breakpoint to >>> breakpoint. Does anybody know how to fix this? >>> Thanks. >>> >>> Nilesh, > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs |
Free forum by Nabble | Edit this page |