Quantcast

IDEA 11

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

IDEA 11

Sergei Rahouski

What is the best way to develop in Grails 2 application in IDEA 11?

 

I am not seeing a way to run interactive console from within IDEA. That makes it hard to:

-          Follow stacktraces of exceptions and jump right to the code

-          Debug classes that you run in interactive console

 

I’ve given a quick try to grails-debug tool and that didn’t work for me, the tool simply froze or was slow enough for me to quit waiting for it to load.

 

Anyone?

 

This message and any attachments originate from International Decision Systems (IDS) and contains privileged and/or confidential information. If you receive this message in error or are not the intended recipient, you may not disseminate this message and you are requested to erase all copies of this message and its attachments and contact the sender by email or by calling +1 (612) 851-3200.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: IDEA 11

rlovtangen
<base href="x-msg://8752/">
On Aug 20, 2012, at 11:02 PM, Sergei Rahouski wrote:

What is the best way to develop in Grails 2 application in IDEA 11?
 
I am not seeing a way to run interactive console from within IDEA. That makes it hard to:
-          Follow stacktraces of exceptions and jump right to the code

If you switch to IDEA with a stacktrace in your clipboard, it will be automatically parsed with quick links to the sources. If that for some reason doesn't happen automatically for you, invoke the menu element "Analyze", then "Analyze Stacktrace..."


-          Debug classes that you run in interactive console
 
This is how I debug externally invoked instaces: http://grails.1312388.n4.nabble.com/Intellij-debugging-of-separately-running-Grails-instance-tc4633187.html#a4633278
Haven't tried with the interactive console though.


I’ve given a quick try to grails-debug tool and that didn’t work for me, the tool simply froze or was slow enough for me to quit waiting for it to load.
 
Anyone?
 
This message and any attachments originate from International Decision Systems (IDS) and contains privileged and/or confidential information. If you receive this message in error or are not the intended recipient, you may not disseminate this message and you are requested to erase all copies of this message and its attachments and contact the sender by email or by calling +1 (612) 851-3200.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: IDEA 11

stokito
Hi, Sergey,

IDEA has a perfect support of Grails. You can invoke Grails command using combination Ctrl+Alt+G and you will see command window.
You don't need to start command with 'grails', and you can use autocomplete (Ctrl+Space).
Hope that it is that you want.

Regards,
Sergey

On 08/21/2012 12:16 AM, Ronny Løvtangen wrote:
<base href="x-msg://8752/">
On Aug 20, 2012, at 11:02 PM, Sergei Rahouski wrote:

What is the best way to develop in Grails 2 application in IDEA 11?
 
I am not seeing a way to run interactive console from within IDEA. That makes it hard to:
-          Follow stacktraces of exceptions and jump right to the code

If you switch to IDEA with a stacktrace in your clipboard, it will be automatically parsed with quick links to the sources. If that for some reason doesn't happen automatically for you, invoke the menu element "Analyze", then "Analyze Stacktrace..."


-          Debug classes that you run in interactive console
 
This is how I debug externally invoked instaces: http://grails.1312388.n4.nabble.com/Intellij-debugging-of-separately-running-Grails-instance-tc4633187.html#a4633278
Haven't tried with the interactive console though.


I’ve given a quick try to grails-debug tool and that didn’t work for me, the tool simply froze or was slow enough for me to quit waiting for it to load.
 
Anyone?
 
This message and any attachments originate from International Decision Systems (IDS) and contains privileged and/or confidential information. If you receive this message in error or are not the intended recipient, you may not disseminate this message and you are requested to erase all copies of this message and its attachments and contact the sender by email or by calling +1 (612) 851-3200.



stokito.vcf (169 bytes) Download Attachment
signature.asc (566 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: IDEA 11

MLoe
This post has NOT been accepted by the mailing list yet.
Or you use the menu Tools / Grails / Run Target

Regards,
Michael
Loading...