How to debug/display variables values?

25 views
Skip to first unread message

Francisco MUNOZ MARDONEZ

unread,
Sep 15, 2020, 11:34:50 AM9/15/20
to optapla...@googlegroups.com
Hi,  I've been trying to use the Debugging feature of IntelliJ Idea with no success.
When running the school schedule example, I can't get the values of any variable (which would be very useful to try modifications into this model). They just don't display in the Debug window. 
I have tried many Breakpoints as well, with no succes.
I don't know if the problem is that I haven't found the right breakpoint or the Debug function simply doesn't work for this model (I'm no expert in java nor in IntelliJ).
What can I do? Is there any other way to display some variables values besides the Debugginfg feature?


Geoffrey De Smet

unread,
Sep 16, 2020, 8:48:46 AM9/16/20
to optapla...@googlegroups.com

I've you're using "mvn quarkus:dev", then attach a remote debugger in IntelliJ.
For the unit tests, just running them in IntelliJ's debugger should work.


More info: https://quarkus.io/guides/maven-tooling#debugging

With kind regards,
Geoffrey De Smet

--
You received this message because you are subscribed to the Google Groups "OptaPlanner development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optaplanner-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/optaplanner-dev/CAAFYQxiwYD3yrfnYZ0k1j%3D6p%3D3uALDrcFp2M3124HO7-VsJp4g%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages