User forums > Using Code::Blocks
Runtime error detection
Micky:
Have a nice day, all!
Receiving some, e.g.,"Process returned -1073741571 (0xC00000FD) execution time : 3.328 s" runtime error from a console application started from the OS (WinXP) or within the IDE, is there a way to locate this error in the code? Alternatively, debugging the lousy code within the IDE, I get some stack window, sometimes with lines (giving some right click options), but I'm totally unaware of any way to localize the error in the code (these right click options don't work).
In Borland's Pascal there was (maybe is) a fine working option "Find Error", exactly for my needs, does codeblocks offer any possibilities in that direction?
Thanks a lot and best to you.
stahta01:
You Compiler Name and Version?
Note: Code::Blocks is NOT a Compiler!
Tim S.
oBFusCATed:
Your program most probably crashed and you need to debug it.
You can use a debugger or printf...
Install a debugger's branch nightly build and try again (hitting f8 or debug->start). There the debugger works better.
p.s. You need to have gdb installed on you system.
Micky:
IDE is 10.05, the compiler is MinGW from about April last year (don't know how to retrieve the correct version number). Also, gdb is installed and running fine. The problem is not that I'm not familiar with a debugger or that it isn't installed at all, it's more that endless search within some recursive (...) procedure. And, oh yes, I feel familiar too with the printf-debugging :D Simply thought, I could somewhere enter that (probably) "0xC00000FD" hex number and OK-find the bad bad line ....
stahta01:
from the MinGW GCC compiler header winbase.h
--- Code: ---#define STATUS_STACK_OVERFLOW 0xC00000FD
--- End code ---
Your stack has overflowed; you likely need to find the bug in your code and fix it.
Edit: This is NOT an Code::Blocks topic; so this thread could be locked at any time by admin.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version