Vy,

I don't see what could be missing, seems to be an issue with your debug config.

Did you set correctly the Debug Source tab (near Connect tab)?

Do you see something in the OFBiz console or console.log?

Did you check the Eclipse log?

Jacques

Le 26/06/2017 à 09:19, Donhu Vy a écrit :
Thank Jacques Le Roux,

I don't understand your reply. I want re-present my work step-by-step.

I am reading 
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
 . I am using Windows 10 Pro x64, Eclipse Neon 3.

  At OFBiz's folder (F:\ofbiz), I release command

gradlew ofbizDebug

(screenshot: 
https://user-images.githubusercontent.com/1328316/27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg
 )

At Debug configuration windows, I set configuration like screenshot 
https://user-images.githubusercontent.com/1328316/27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg

When I press button "Debug", I see error:
Problem Occurred
'Launching gradle_remote_debug' has encountered a problem. Launch configuration 
gradle_remote_debug references closed project ofbiz.
Details: Launch configuration gradle_remote_debug references closed project 
ofbiz
(Screenshot: 
https://user-images.githubusercontent.com/1328316/27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg
 )

How to debug OFBiz inside Eclipse IDE?


Vy

________________________________
From: Jacques Le Roux <jacques.le.r...@les7arts.com>
Sent: Monday, June 26, 2017 1:32:39 PM
To: user@ofbiz.apache.org
Subject: Re: Can't access webapp in debug model

Hi,

You need to start a debugger for OFBiz to continue and be ready.

When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to 
continue. You can see that in the console or console.log

Jacques


Le 26/06/2017 à 04:14, Donhu Vy a écrit :
In previous sessions, when I release command
gradlew cleanAll loadDefault ofbiz --info
I can access https://localhost:8443/ap/control/main and start to play with 
OFBiz.

Today , I release command
gradlew cleanAll loadDefault ofbizDebug --info
I can't access https://localhost:8443/ap/control/main .

Please help me explain why. I want dive inside to source code and start make 
something small (for example: a widget, or tweak few lines of code).




Reply via email to