Hi Robert,
Welcome. Glad to know you are doing good with the debugging.
Best Regards,
James
On 2020/01/12 02:51:43, Robert Wynkoop wrote:
> James,
>
> Wow. It has been since 2010, since I used InteliliJ.
>
> It freaking just works. I love the key mapping(Double shift, Double cntl)
> to
James,
Wow. It has been since 2010, since I used InteliliJ.
It freaking just works. I love the key mapping(Double shift, Double cntl)
to search and run anything.
In Eclipse I had been trying ofbizDebug task, vs in here I used ofbiz from
the debug menu.
Thanks.
On Fri, Jan 10, 2020 at 6:42
Robert,
For that we need to complete https://issues.apache.org/jira/browse/OFBIZ-11205
(forgot about it while working on more pressing stuff like CSRF)
Jacques
Le 10/01/2020 à 23:21, Robert Wynkoop a écrit :
Jacques,
If I can get it working in Eclipse, then I will be able to figure Netbeans
Hi Robert,
Debugging groovy scripts should work in IntelliJ IDEA Community Edition.
Also see
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Intellij+IDEA
Regards,
James
On 2020/01/10 15:46:20, Robert Wynkoop wrote:
> How do I debug the Groovy scripts?
>
>
Jacques,
If I can get it working in Eclipse, then I will be able to figure Netbeans
out.
Using Eclipse:
Version: 2019-09 R (4.13.0)
Build id: 20190917-1200
Installed Plugin that may be relevant:
Groovy Development Tools 3.7.0
Buildship Gradle Integration 3.0
EGradle Editor and IDE 2.6.1
Thanks
Le 10/01/2020 à 22:38, Robert Wynkoop a écrit :
Any ideas of what I might try?
Using Eclipse or IntelliJ ?
Sorry ;)
Jacques
Jacques,
Thanks. Well I'm having fun. New to Gradle, new to Goovy, I'm not making
progress.
I added
getDirectoryInActiveComponentsIfExists('groovyScripts')
to sourceSets {main { groovy {
But no joy in Netbeans. I then ran the task "eclipse" and
tried eclipse(with build), with no
You might be interested by https://issues.apache.org/jira/browse/OFBIZ-10226
HTH
Jacques
Le 10/01/2020 à 16:46, Robert Wynkoop a écrit :
How do I debug the Groovy scripts?
In netbeans and eclipse, the groovy file does not seem to be on the class path.
I'm unable to set break points. Any
Dan,
Thanks.
In netbeans I can get the debugger to attach, but get a msg can not set
break point.
I get this message in the debugger console. I can set other java
breakpoints.
Invalid LineBreakpoint InitTheme.groovy : 31
LineBreakpoint UtilMisc.java : 68 successfully submitted.
Robert Wynkoop
Hi Robert,
Groovy scripts are not on the classpath in the normal sense, but are loaded
(and I guess compiled) at runtime from the script's .groovy file.
This is handled in the GroovyEngine#serviceInvoker where you'll see a line
similar to:
Script script =
Debugger might not work given that these scripts are not directly called
within the classpath (they are enhanced with OFBiz-specific context
information. I would use print statements to debug things.
On Fri, Jan 10, 2020 at 6:55 PM Robert Wynkoop
wrote:
> How do I debug the Groovy scripts?
>
>
How do I debug the Groovy scripts?
In netbeans and eclipse, the groovy file does not seem to be on the class
path.
I'm unable to set break points. Any tips to configure so I can debug OFBiz
Java embedded Groovy.
[image: 2020-01-10 09_40_18-ofbiz-framework - Apache NetBeans IDE 11.2.jpg]
12 matches
Mail list logo