Is there a way to restart the agent without restarting the device?

I would like to restart the agent code without restarting the device which is attached to, and gathering data from, some equipment. Is there some, standard, way to do this, or would I have to modify my agent code to do this when it receives a signal. The reason I want to do this is part of the code test, so adding a special handler for it is not the best option.

Not right now, but this is being built into our IDE API spec (coming soon!)

as Arun pointed out, performing an infinite loop with memory allocation is the fastest way to get an out of memory and a consequential reboot of the agent alone. I’ve used that to test our ‘agent reboot resilience’. Works pretty well.