ja, thats kinda what I picked out of this thread, and I couldn't repro either:

break on

cmd()

exit 0

function cmd()

shell "cmd /c echo test"

endfunction