Without Visual Studio installed on client machine, is there a way to follow or log program execution steps?

I am trying to debug an error that I cant reproduce on my dev machine.