Posts: 177
Threads: 4
Joined: Aug 2007
Reputation:
0
I remember how big a pain this can be because no compiler info is shown. The only way i solved the problem was to find that chunk that makes the compiler crash by commenting out big chunks of code i recently changed that made to compiler crash and then recompile until the compiler didnt crash so basically:
First try to comment out code chunk 1 and 2 and see if compiler crashes. If it still crashes comment out one more chunk using:
/*
code chunk
bla bla bla
bla bla bla
*/
and try to compile again until you have commented out so much that the compiler dont crash. Then chunk by chunk you add the new code until the compiler crashes and then you know the problem is in the last chunk you added.
Hope it makes sence to you.
Posts: 128
Threads: 25
Joined: Dec 2011
Reputation:
0
I tried for a few hours but it didnt seem to work. I dont know what could be the problem :/
With it being a mysql script, does that have anything to do with it?
Posts: 56
Threads: 5
Joined: Jul 2012
Reputation:
0
Yes, hansen111 is correct. I use that same method when I run into this problem. And you know most of the time what I did was, I made the wrong bracket.
Example: Instead of using ' { ', I used ' ( ' or ' [ '.
It is a known fact that the missing bracket finder can sometimes mistake a ' { ' for ' ( ' or ' [ ', as I used that one when the same thing was happening to me, and it said all brackets were closed, and come to find out, I had a ' ( ' where a ' { ' should have been. So do what he said, and look back at EVERYTHING you have recently added, and comment it out if you can't figure out the problem, then try.
Posts: 128
Threads: 25
Joined: Dec 2011
Reputation:
0
Ok I'll do it again lol thanks guys for your help...I'll let you know how it works out.