#HotSwapping

1 messages · Page 1 of 1 (latest)

pulsar anvil
#

Okay guys i know this might not really be related to spigot development. but i still think i might get a good answer here for this. i have been having this issue for a long time and just cannot get my ide to hotswap.
which is a very usefull feature to have when debugging.
does anyone know why this is happening. below you see how i am attempting to hotswap

my server start script looks like this:

@echo off
:START
cls
java -Xmx2G -Xms2G -DIReallyKnowWhatIAmDoingISwear -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar ./spigot.jar nogui
pause
goto :START

then my ide will connect to it remotely using the configuration in screenshot 1

then i will enter debug mode using the button in screenshot 2
lastly i use the button in screenshot 3 to attempt hotswapping
and you can see the result in screenshot 4.

Thank you for any help in advance

left quail
pulsar anvil
#

alright. i will try anything at this point

pulsar anvil
#

aight, i followed the whole thing. but will always only get this result

#

even though i just builded the project. so class named shoulnt be different

#

@left quail i dont suppose you'd have a clue why this is happening? 😕

tame tapir
#

do u have dcevm?

#

idk if it would actually make a difference

#

but its significantly better if you want to hotswap

#

as opposed to normal jvm impls

pulsar anvil
#

on startup it also seems to work fine

tame tapir
#

What Java version