Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Дмитро on January 01, 2016, 04:28:19 pm

Title: The program runs and then suddenly cause a debugger
Post by: Дмитро on January 01, 2016, 04:28:19 pm
Good wishes to you, joyous celebration encounter! With the new year has come!

How to debug the code block, the right example? Here's the code seems to work, but suddenly the car causes the debugger!
So, what is the strays, or enters the forbidden place. How to debug it in him? Can you explain, to show how well-debug, debug, and what are they?

strngbad2.zip (http://www.fayloobmennik.net/5646878)
Title: Re: The program runs and then suddenly cause a debugger
Post by: Дмитро on January 01, 2016, 04:32:13 pm

If you still need something to help, write about it.
Title: Re: The program runs and then suddenly cause a debugger
Post by: Дмитро on January 01, 2016, 05:23:39 pm
Something bad is coming when the line StringBad AnsverF ("Low") ;.
However, errors in the code I do not see. Bad happens I do not understand.
How malfunction happens, I do not understand. How else to understand and how to establish even better?
25.bmp (http://www.fayloobmennik.net/5646950)
Title: Re: The program runs and then suddenly cause a debugger
Post by: MortenMacFly on January 01, 2016, 05:35:58 pm
I still don't get what you are trying to tell. Please re-phrase it.

Also, how is this related to Code::Blocks? Please bear in mind that this is not a general programming forum! Please respect our forum rules you have agreed to when registering here. Thank you.
Title: Re: The program runs and then suddenly cause a debugger
Post by: Дмитро on January 01, 2016, 05:43:29 pm
Yeah, you know, the truth is most of all a question of when. It's my fault.
The compiled program writes to the console, but it causes the debugger! Debugger I have IDA.
Title: Re: The program runs and then suddenly cause a debugger
Post by: stahta01 on January 03, 2016, 09:41:22 pm
If you program crashed, it is likely that the problem does NOT related to Code::Blocks and is therefore off topic.

If that is NOT the issue, you need to reword the information and hopefully a CB Dev will help you.
I will NOT be able to help if the question is about using the Debugger.
You might wish to read this Wiki and Post a Debugger log.
http://wiki.codeblocks.org/index.php/Debugging_with_Code::Blocks (http://wiki.codeblocks.org/index.php/Debugging_with_Code::Blocks)

If your program is crashing when ran you might need to post a full build log on another website to get help.
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Tim S.


Yeah, you know, the truth is most of all a question of when. It's my fault.
The compiled program writes to the console, but it causes the debugger! Debugger I have IDA.