News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

The program runs and then suddenly cause a debugger

Started by Дмитро, January 01, 2016, 04:28:19 PM

Previous topic - Next topic

Дмитро

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

Дмитро

#1

If you still need something to help, write about it.

Дмитро

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

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Дмитро

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.

stahta01

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.


Quote from: Дмитро 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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]