• Welcome to PlanetSquires Forums.
 

#DEGUG ERROR ON

Started by craigsca, January 06, 2009, 09:35:55 AM

Previous topic - Next topic

craigsca

I'm having trouble getting #DEBUG ERROR ON to work.  When I put it in my module, PB gives me an error that my Declaration Must Precede Statements.  In my project properties, I have the application starting from frmMain.  Ok, so I put the #DEBUG ERROR ON there, under [Other_Code] and the same thing happens.  Where should I put #DEBUG to make it work?

In looking at the forums, it looks like FireFly doesn't compile modules/forms in any particular order, but I was unable to find any recommendation beyond putting #INCLUDE files in the project (which I didn't quite understand, frankly).  Is there a solution here, or am I hosed?

I'm doing this in order to understand why an ARRAY SORT doesn't seem to be working.  With that, I'd give my kingdom for an integrated debugger inside FireFly!  :)

TechSupport

You can set #DEBUG ERROR ON via "Environment Options". Take a look at the attached screenshot to my post.


TechSupport

You can define the order of includes by using a bit of a hack through the use of a "user_includes.inc" file. Check out this post: http://planetsquires.com/support/index.php?topic=2755.0

In FireFly 3, you have access to a special area called FF_AppStart where you can put all of your compiler directives and #Include files.


craigsca