CompilerIf #PB_Debug
Could this compiler directive be supported?
So that alternate code could be used in those cases
where debug mode or IDE runned causes path etc. issues?
Particulary in cases where GetModuleFileName_() etc. is used and thus returns different results compared to the "finished" compiled program.
[Implemented] CompilerIf #PB_Debug
[Implemented] CompilerIf #PB_Debug
Last edited by Rescator on Thu Sep 29, 2011 12:56 pm, edited 1 time in total.
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: CompilerIf #PB_Debug
Maybe clearer to have:Rescator wrote:CompilerIf #PB_Debug
Could this compiler directive be supported?
So that alternate code could be used in those cases
where debug mode or IDE runned causes path etc. issues?
Particulary in cases where GetModuleFileName_() etc. is used and thus returns different results compared to the "finished" compiled program.
Code: Select all
CompilerIf #PB_Debugger_Enabled
...
perhaps in v4, dunno, but until then some workaround's: japbe, codecaddy, purebuilder
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )