Hi All,
This is my first post, so first off, nice to meet you all. This seems like a great community and im hoping to contribute by creating some scripts. Im a software developer by profession so fingers crossed i should be able to get the hang of scripting.
My question is how do i make debugging easier. I have 2 main issues
1)
So im using IntelliJ, as you can see above when i make a change to my script and rebuild, IntelliJ cannot replace the .jar file in my scripts directory. Im guessing this is because the script has been loaded OSBot so its technically being used by that process. Every time i make a modification to my script i need to completely close OSBot client, then build. Then start up OSBot and log into my account again. (Just to confirm i have stopped my script). As you can imagine time is very time consuming, and may look a bit dodgy (level 3 account logging in and out non stop...) - Any tips here?
2) Is there any way i can debug from IntelliJ, like insert breakpoints, check variable values, stack trace etc? (this isnt a major, would just be super helpful).
Apologies if these are obvious questions, im somewhat experienced in OOP (C#) but i've only just started using Java / IntelliJ today.
EDIT : Questions answered. Thanks guys and gals