> > What "define the 'Exec' preprocessor constant" means? Is there some
> > undocumented Exec constant?
>
> Yes. This is used by the IDE when compiling the entire project to make
> an executable. Don't use it in your programs.
>

OK. I'm trying to figure out easy way to test JIT with my GambasTester.
But I would need to exclude some code when JIT is in use.




>  No, because by default there is no debugging information. When you
> compile from the IDE, the '-g' option is automatically added, unless
> when making an executable where you have an option to not generate them.
> But then you lose detailed backtraces when an error occurs.
>

I tested this with following code:

#If Debug
Print "Test!!"
#Endif

$ gbc3
OK

$ gbx3
Test!!

Something wrong with the code I used to test this?



Jussi
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to