Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug Mapstruct implementations with Eclipse

I'm using MapStruct 1.3.0.Final to convert Dtos into POJOs and vice versa with the spring value into mapstruct.defaultComponentModel option.

Is there a way to debug generated implementations (by default in the folder target/generated-sources) of the mappers using Eclipse?


1 Answers

If your Eclipse is properly configured then the target/generated-sources folder should be part of the Java sources and you would be able to debug and use those classes as if they were under src/main/java

like image 179
Filip Avatar answered Jan 19 '26 14:01

Filip



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!