Share your advanced PureBasic knowledge/code with the community.
Ramihyn_
Enthusiast
Posts: 314 Joined: Fri Feb 24, 2006 9:40 am
Post
by Ramihyn_ » Fri Jun 08, 2012 12:12 pm
Microsoft Security
Essentials 4 slows down working with with PureBasic a lot in some cases. Starting with a debugger from the IDE will add a delay of several seconds. Do the following steps to fix this:
1) open MSE and select the "Settings" tab
2) click "excluded processes", select the file "polink.exe" from your PureBasic installation and "add" it. Save changes.
3) click "excluded locations" and add the path where you create your own PureBasic executables. Save changes.
Link to MSE download :
http://www.microsoft.com/security_essentials/
Tip: create your temorary executables via the "project options" inside the source directory and add your source directory in step 3)
ps: you may want to select the "MAPS" setting and switch to "i dont want to join MAPS" too.
IdeasVacuum
Always Here
Posts: 6426 Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:
Post
by IdeasVacuum » Sat Jun 09, 2012 12:34 am
Very good advice. I have added the compiler and debug exe files too.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
buddymatkona
Enthusiast
Posts: 252 Joined: Mon Aug 16, 2010 4:29 am
Post
by buddymatkona » Sat Jun 09, 2012 4:48 am
This code is very handy because you can paste the Debug output into MSE Excluded Files And Locations all at once.
From a Danilo post:
Code: Select all
pbDir$ = #PB_Compiler_Home
Debug pbDir$+"PureBasic.exe;"
Debug pbDir$+"Visual Designer.exe;"
Debug pbDir$+"Compilers\"+"pbcompiler.exe;"
Debug pbDir$+"Compilers\"+"PBDebugger.exe;"
Debug pbDir$+"Compilers\"+"PBDebuggerUnicode.exe;"
Debug pbDir$+"Compilers\"+"FAsm.exe;"
Debug pbDir$+"Compilers\"+"porc.exe;"
Debug pbDir$+"Compilers\"+"polib.exe;"
Debug pbDir$+"Compilers\"+"polink.exe;"
tmp$ = GetEnvironmentVariable("TEMP")
For i = 0 To 9
Debug tmp$+"\PureBasic_Compilation"+Str(i)+".exe;"
Next