Are you sure it actually stopped installing? When I installed XCode for the first time a few months ago, there was a 20-30 minute period where it was completely silent. Ultimately I was able to tail some syslog from the app store daemon that indicated it was actually doing something (downloading dependencies and validating their signatures, IIRC). But I almost restarted the computer thinking it wasn't working.