Re: Debug frameworks with maven project

2024-04-10 Thread Paul Hoadley via Webobjects-dev
Hi Samuel,

On 11 Apr 2024, at 3:45 am, Samuel Pelletier via Webobjects-dev 
 wrote:

> I created a new workspace with the latest Eclipse to migrate my project to 
> maven. My projects run and I can debug the application code (set breakpoint, 
> click on exception stack trace to open project source) but all debug 
> functions are not working for frameworks. I set breakpoint in code but 
> Eclipse open class from a jar instead of my source.
> 
> Also, I have to restart the app to test for my code change in frameworks even 
> with an hot swap enable JRE. Seems Eclipse does not figure out the maven 
> dependencies code is in the current workspace.

The first thing you should do is confirm that you've got an exact version match 
between what your application's POM is asking for and what your framework code 
in the workspace is showing. I don't recall running into either of these 
issues, but I'll test it out later in the morning.


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Debug frameworks with maven project

2024-04-10 Thread Samuel Pelletier via Webobjects-dev
Hi,

I created a new workspace with the latest Eclipse to migrate my project to 
maven. My projects run and I can debug the application code (set breakpoint, 
click on exception stack trace to open project source) but all debug functions 
are not working for frameworks. I set breakpoint in code but Eclipse open class 
from a jar instead of my source.

Also, I have to restart the app to test for my code change in frameworks even 
with an hot swap enable JRE. Seems Eclipse does not figure out the maven 
dependencies code is in the current workspace.

Is there something I miss here ?

Regards,

Samuel

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com