Wow

This is a long thread!
I am on multiple Windows 10 PCs and no problems with the IDE for ~75k line apps.
I only recently upgraded 1 PC to Windows 11, so I have to verify that case.
My use model:
1. Whitelist your install folder -> C:\MyLocationOfPureBasic\*.*
2. Whitelist your dev folder -> C:\MySourceCode\*.*
3. Disable check for new version.
4. Disable History.
Early on this crashed my IDE.
I use fossil.exe for my version control software.
You can too or git or any others.
5. I do not use projects. Instead I prefer explicit #includefiles.
Early on I found projects would crash my IDE if I opened and compiled non-project files.
Without projects, I run with 6 or 7 source files open and compile any files at will.
6. Compiler and IDE options:
Place at the top of your code for documenting.
Important information to verify your code compiles via commandline.
I put example run below.
Code: Select all
; =================================================
; COMPILER OPTIONS:
; [ ] Main source file:
; [x] Use Compiler: PureBasic 6.11 - C Backend (Windows - x64)
; [x] Use Icon: C:\dev\myapp\img\myapp_16x16.ico
; [x] Optimize generated code
; [ ] Enable inline ASM syntax coloring
; [x] Create threadsafe executable
; [ ] Enable OnError lines support
; [x] Enable modern theme support (for Windows XP and above)
; [ ] Request Administrator mode for Windows Vista and above
; [ ] Request User mode for Windows Vista (no virtualisation)
; [ ] Enable DPI aware executable (Windows)
; [ ] Enable DLL preloading protection (Windows)
; Library Subsystem:
; Executable format: Windows ;|Console|Shared DLL
; All CPU ;|Dynamic|w/MMX|w/3DNOW|w/SSE|w/SSE2
; Linker options file:
; COMPILE/RUN:
; Debugger:
; [x] Enable Debugger
; [x] Enable Purifier
; [ ] Use selected Debugger: ;Integrated IDE Debugger
; [ ] Use Warning mode: ;Display Warnings
; Run executable with:
; Executable Commandline: ;
; Current directory: ;C:\dev\lib\
; [x] Create temporary executable in the source directory
; CONSTANTS:
; VERSION INFO:
; [ ] Include Version Information
; Update version info in: auto set fields --> %yy.%mm.%dd
; RESOURCES:
; C:\dev\some-resource.rc
; IDE PREFERENCES:
; Compiler:Defaults:
; Sourcefile Text encoding: UTF-8
; ToolsPanel:Configuration:Procedure Browser
; [x] Sort Procedures by name ;<-- Alphabetical instead of order of appearance. Uncheck when location of Proc desired.
; [ ] Group Markers ;<-- If checked, ';-!' priority listing is lost.
; [ ] Display Procedure Arguments ;<-- Too busy if checked.
; Editor:
; Save Settings to: The end of the Source file
; | The file <filename>.pb.cfg | A common file project.cfg for every directory | Don't save anything
; Tab Length: 2 [ ] Use real Tab (ASCII 9)
; Source Directory: c:\dev\
; Debugger:
; Choose Debugger Type: Integrated IDE Debugger ;|Standalone GUI Debugger|Console only Debugger
; Choose Warning level: Display Warnings
; CMD LINE COMPILER:
; c:\purebasic-x86\compilers\pbcompiler -c -t "C:\dev\myapp\myapp.pb" /DYNAMICCPU /XP /RESOURCE "c:\dev\myapp\myapp.rc" /ICON "C:\dev\myapp\img\myapp-32x32-8.ico" -o "C:\myapps\myapp\myapp-asmv601b2.exe
; RETURN:
; PureBasic 6.01 LTS beta 2 (Windows - x64)
; Compiling C:\dev\myapp\myapp.pb
; Loading external libraries...
; Starting compilation...
; Including source: ..\lib\1.pbi
; Including source: ..\lib\2.pbi
; Including source: ..\lib\3.pbi
; Including source: ..\lib\4.pbi
; Including source: ..\lib\5.pbi
; Including source: ..\lib\6.pbi
; Including source: ..\lib\7.pbi
; Including source: ..\lib\8.pbi
; Including source: ..\lib\9.pbi
; Including source: ..\myapp\10.pbi
; Including source: ..\myapp\def.pbi
; Including source: ..\myapp\11.pbi
; Including source: ..\myapp\12.pbi
; Including source: ..\lib\13.pbi
; Including source: ..\myapp\14.pbi
; Including source: ..\lib\15.pbi
; Including source: ..\myapp\16.pbi
; Including source: ..\myapp\17.pbi
; Including source: ..\myapp\18.pbi
; 67322 lines processed.
; Creating executable "C:\myapps\myapp\myapp-asmv601b2.exe".
;
; - Feel the ..PuRe.. Power -
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum