Dreamweaver crashes on site cache rebuild
I just wasted an hour of my life figuring this out so I thought I'd share in case anyone else has the same problem. This happened to me using Adobe Dreamweaver CS3 but may be relevant to previous versions as well.
I was working on some CSS for a multi-tier dropdown menu when all of a sudden Dreamweaver just shut itself down. No warning. No error message. Just Poof! Gone. When I restarted, the splash screen came up and the program would start to load, get to the part where it said something about "Initializing Site Cache" and then just vanish. It turns out that I'd corrupted my cache file which rendered Dreamweaver inoperable.
By re-naming the folder I was working in, I got Dreamweaver to start loading again. Since it could no longer find my site it didn't see the bad cache and the program would load. When I tried to switch back to editing my site though, the problem would happen again, even after disabling and re-enabling the cache. Something was causing my cache to go haywire.
I'd been debugging some IE6 issues (imagine that) and had been commenting and un-commenting various lines of my external stylesheet. During one of these debug sessions I'd apparently left a rogue */ at the end of a CSS block. Having the comment close marker but not the comment open marker was enough to send Dreamweaver into a frenzy.
So if you run into a similar issue with Dreamweaver crashing and burning, check the latest edits you made to your files. If there's invalid markup it can apparently cause Dreamweaver's cache to explode and ruin your day.