|
I'm not using an ide.
How can I debug my application, inserting brak points, etc.? --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
I don't think you can. Along time ago I once used a text/command line based debugger for debugging some C code. Don't know if such a thing exists for Java or not.
But why wouldn't you use an IDE? Most of them are free. --------------------------- www.maf.org/rhoads www.ontherhoads.org On Tue, Mar 8, 2011 at 8:41 AM, Mauro <[hidden email]> wrote: I'm not using an ide. |
|
On 8 March 2011 15:54, Brad Rhoads <[hidden email]> wrote:
> I don't think you can. Along time ago I once used a text/command line based > debugger for debugging some C code. Don't know if such a thing exists for > Java or not. > > But why wouldn't you use an IDE? Most of them are free. Netbeans or STS for example? --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
On Tue, Mar 8, 2011 at 10:10 AM, Mauro <[hidden email]> wrote:
Maybe because IDEs suck! Or maybe because I prefer text editors.
There are some examples on the web on using netbeans and STS for debugging grails app, if you must do so. If I ever have the need to debug a grails app I would only use the IDE for debugging and go back to my text editor for editing.
-- "The greatness of a nation and its moral progress can be judged by the way its animals are treated." --Ghandi |
|
On 8 March 2011 16:42, Roberto Guerra <[hidden email]> wrote:
> > > On Tue, Mar 8, 2011 at 10:10 AM, Mauro <[hidden email]> wrote: >> >> On 8 March 2011 15:54, Brad Rhoads <[hidden email]> wrote: >> > I don't think you can. Along time ago I once used a text/command line >> > based >> > debugger for debugging some C code. Don't know if such a thing exists >> > for >> > Java or not. >> > >> > But why wouldn't you use an IDE? Most of them are free. > > Maybe because IDEs suck! Or maybe because I prefer text editors. Yes I don't like ides too but it seems that is the only way for debugging a grails app. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
On 08/03/2011 16:56, Mauro wrote:
> Yes I don't like ides too but it seems that is the only way for > debugging a grails app. There is always jdb (the gdb-alike command line Java debugger that comes with the JDK) but I don't know how well that plays with Groovy code. You're probably better off with a few well-placed println or log.debug statements. I am an IDE user about 60-70% of the time and I still do most of my debugging using logging - I rarely, if ever, use "breakpoint and step through" style debugging. Ian -- Ian Roberts | Department of Computer Science [hidden email] | University of Sheffield, UK --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
In reply to this post by Mauro-4
You could use jdb:
http://download.oracle.com/javase/6/docs/technotes/tools/windows/jdb.html Burt > On 8 March 2011 16:42, Roberto Guerra <[hidden email]> wrote: > > > > > > On Tue, Mar 8, 2011 at 10:10 AM, Mauro <[hidden email]> wrote: > >> > >> On 8 March 2011 15:54, Brad Rhoads <[hidden email]> wrote: > >> > I don't think you can. Along time ago I once used a text/command line > >> > based > >> > debugger for debugging some C code. Don't know if such a thing exists > >> > for > >> > Java or not. > >> > > >> > But why wouldn't you use an IDE? Most of them are free. > > > > Maybe because IDEs suck! Or maybe because I prefer text editors. > > Yes I don't like ides too but it seems that is the only way for > debugging a grails app. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
You can even script your debugging using Groovy with YouDebug: http://youdebug.kenai.com/.
Basically, it is a Groovy wrapper around the Java Debug Interface (JDI) created by Kohsuke Kawaguchi, the inventor of Hudson/Jenkins. This is great e.g. if you have to wait for certain conditions, which can be scripted in Groovy. HTH, Wolfgang |
|
On 8 March 2011 19:48, Wolfgang Schell <[hidden email]> wrote:
> You can even script your debugging using Groovy with YouDebug: > http://youdebug.kenai.com/. > Basically, it is a Groovy wrapper around the Java Debug Interface (JDI) > created by Kohsuke Kawaguchi, the inventor of Hudson/Jenkins. This is great > e.g. if you have to wait for certain conditions, which can be scripted in > Groovy. > I install STS eventually. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
