Author Topic: The program runs and then suddenly cause a debugger  (Read 1982 times)

Offline Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 99
The program runs and then suddenly cause a debugger
« 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

Offline Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 99
Re: The program runs and then suddenly cause a debugger
« Reply #1 on: January 01, 2016, 04:32:13 pm »

If you still need something to help, write about it.
« Last Edit: January 01, 2016, 04:36:33 pm by Дмитро »

Offline Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 99
Re: The program runs and then suddenly cause a debugger
« Reply #2 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9504
Re: The program runs and then suddenly cause a debugger
« Reply #3 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 99
Re: The program runs and then suddenly cause a debugger
« Reply #4 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6661
    • My Best Post
Re: The program runs and then suddenly cause a debugger
« Reply #5 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

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

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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org