Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] Compiler stops with no message

 
  • 0 Vote(s) - 0 Average
Pawn Compiler stops with no message
Torque
Offline

Burgershot Member
Posts: 49
Threads: 21
Joined: Jul 2020
Reputation: 1
Location: UK
#1
2021-01-16, 12:55 AM (This post was last modified: 2021-01-16, 12:57 AM by Torque.)
So I've just removed a whole bunch of script that wasn't being used in my game mode, or that I didn't want to have any more.

I knew that by doing this I would get errors (I've removed 10's of thousands of lines of script).

This would have been ok, as I would have gone through and corrected everything. However, when I compile the script, the compiler just stops, and I get the compiler output window but with no text at all.

What is the likely issue to cause the compiler to stop abruptly and output nothing?
Torque
Offline

Burgershot Member
Posts: 49
Threads: 21
Joined: Jul 2020
Reputation: 1
Location: UK
#2
2021-01-16, 01:34 AM
Solved. A little old-school debugging technique worked a treat.
Expert*
Offline

Burgershot Member
Posts: 61
Threads: 2
Joined: Apr 2019
Reputation: 4
#3
2021-01-18, 07:39 PM (This post was last modified: 2021-01-18, 07:40 PM by Expert*.)
You should explain how you done it, it would be useful to someone in the future, i bet.
Probably also helps google algorithm to discover this website too.
+1
Torque
Offline

Burgershot Member
Posts: 49
Threads: 21
Joined: Jul 2020
Reputation: 1
Location: UK
#4
2021-01-21, 01:16 AM (This post was last modified: 2021-01-21, 01:16 AM by Torque.)
I'd commented out some script, and forgot to put a */ at the end. So it was commenting out other script.

The way I found it, was to comment out half the script, and see if it produced an error or crashed again. If it crashed, I'd comment out another quarter of the script, if it produced an error, I knew the problem lay within that quarter I'd just commented out. So now I have much less script to look through.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode