I seek for good debug system becase the integrated is too slow..
there's any good(fast...) debug ide for blitz?
Blitz3D Forums/Blitz3D Programming/there's any good(fast...) debug ide for blitz? Of course its slow, youre running a debugger. If you want speed yet still want to trap things as they occur there is always the use of a CONST variable. Such as
CONST DEBUG_MODE = true
if DEBUG_MODE
do stuff
end if
CONST variables in if statements etc dont get compiled into the final code if they are not met. So setting that value to false will have zero theoretical impact on your code. This way you can create your own custom console or messaging system to trap things. Noting that blitz text command is slow as hell, so you may end up faster running in the standard debugger :)
CONST DEBUG_MODE = true
if DEBUG_MODE
do stuff
end if
CONST variables in if statements etc dont get compiled into the final code if they are not met. So setting that value to false will have zero theoretical impact on your code. This way you can create your own custom console or messaging system to trap things. Noting that blitz text command is slow as hell, so you may end up faster running in the standard debugger :)
take a look at DebugView: http://technet.microsoft.com/de-de/sysinternals/bb896647(en-us).aspx
cheers, chi
.lib "kernel32.dll" api_OutputDebugString (lpOutputString$) : "OutputDebugStringA"
Graphics3d 800,600,0,2 Apptitle" Dbgview Sample" Global hWnd=Systemproperty("ApphWnd") While not Keyhit(1) if mousehit(1) api_OutputDebugString("left mousebutton hit") elseif mousehit(2) api_OutputDebugString("right mousebutton hit") elseif mousehit(3) api_OutputDebugString("middle mousebutton hit") elseif keyhit(57) api_OutputDebugString("hwnd=" +hwnd) endif text(10,10,".) start Dbgview.exe") text(10,25,".) press left, right or middle mousebutton") text(10,40,".) press space for hwnd") flip wend end
cheers, chi