debugging problem in graphics mode
BlitzMax Forums/BlitzMax Beginners Area/debugging problem in graphics mode
| ||
when I step into graphics mode (graphics command) in debugging mode (debugstop command) my screen is getting dark and it seems that the computer is hang. in running mode the program is running just fine so I guess it is not code problem. my operation system is windows 8. how can I solve this problem ? |
| ||
Maybe caused by your AntiVirus Software. When I tried to build and run fullscreen apps in BlitzMax Avast tried to analyse the program and stops it while the System is creating the fullscreen window... Windows 8 crashed. Something with Kernel Security Reasons (dont remember the exact reason). |
| ||
thank you for replying but I don't use anti virus (I rely on windows defender) and beside I don't have a problem with building or running. I have problem only in debug mode when I step into graphic mode. |
| ||
Are you running your app in fullscreen mode? This is generally bad practice as the debugger doesn't show on top of the game screen, and it will just look like your game has frozen/crashed. |
| ||
can I exit fullscreen mode when I debug and if so how I do it or should I not using fullscreen mode on the first place ? anyway what is the command to set windword mode ? |
| ||
The command is: do not use a "colordepth"-value > 0 when using the graphics/SetGraphics-command. So: local g:TGraphics = graphics width,height,0, ... bye Ron |
| ||
it works. thank you very much. |