Skip to main content

All Questions

Tagged with
1 vote
1 answer
54 views

How to debug in codeblock?

I am working on C++ and I created a file and put a breakpoint, but when I start debugging, it opens up a terminal, and suddenly it closes it. I am not sure what is wrong with debugging. If I run the ...
Rahul verma's user avatar
1 vote
1 answer
134 views

How to debug some complex c++ stls in watches of CodeBlocks? E.G. vector<vector<int> >v

I wrote a simple program concerning c++ stls. But I found that using CodeBlocks is very hard to debug with some kinds of a little more complex stls E.G. vector<vector >v. When I debug the ...
fruitshell's user avatar
0 votes
0 answers
31 views

Strange values for variables while debugging in Code::Blocks

I am using some code I got from github and I was struggling to read a text file. The code is meant to read in some dimensions from a list of boxes. Here's a snippet. Please let me know if I need to ...
shongololo's user avatar
0 votes
0 answers
88 views

How to make Break debugger button in Code::Blocks actually work?

I am trying to break the debugger in Code::Blocks 20.03 under Windows by pressing "Break debugger" button. I use gdb debugger. However, I can never pause the debugger on any line of my code. ...
Freewing's user avatar
0 votes
0 answers
111 views

CodeBlocks Debugger Doesn't Work in Linux

This is the full debugger log of a brand new "hello world" program i've just created to show that it doesn't work. Works if i run it directly from my command line, but somehow not inside my ...
M. Cousins The III's user avatar
1 vote
1 answer
429 views

Codeblocks : "Error creating process (error 193) " with SDL2

I want to debug a code with codeblocks. It is not possible if I use the SDL2 lib. The building of the bin/debug/*.exe is ok...but when I run it there is the following message: Starting debugger: gdb....
Mike's user avatar
  • 11
0 votes
0 answers
456 views

How can I fix 'gdborig.exe has stopped working' error when debugging on code::blocks?

I have recently installed Code::Blocks IDE and tried to debug c++ hello world project by choosing Debug->Step into. It opens up the command prompt but gives an error message: gdborig.exe has ...
Usitha Indeewara's user avatar
1 vote
1 answer
216 views

How do you specify a debugger program in Code::Blocks in LINUX

I was trying to debug a c++ program in Code::Blocks, but it didn't work and gave me this message: "ERROR: You need to specify a debugger program in the debugger's settings. (For GCC compilers, it'...
Abdul Rahman Rahhal's user avatar
1 vote
0 answers
333 views

Code Blocks isn't showing any assembly code with debug mode

I'm having problems to see the assembly code generated from the source code. I know the debug mode in Code Blocks has a window named "disassembly" that should show the assembly code ...
MasterTJ123's user avatar
0 votes
1 answer
1k views

Code::Blocks Debugger : how to `step into` functions on line-by-line execution?

When debugging a C++ program on Code::Blocks 20.03, I press SHIFT+F7 to step into the program, then I begin pressing F7 to go to the next line and watch variables changing in "real time". ...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
1 vote
0 answers
246 views

Opening text files on codeblocks

I try to debug by using cerr in c++. I know it's efficient for text editors like sublime. But I wanted to know if there is a way i can open the output error text file on codeblocks in real time which ...
20UME045 aman Kumar singh's user avatar
2 votes
1 answer
442 views

GDB not catching SIGFPE

I am using gcc (11.2.0-mingw-w64ucrt-9.0.0-r5), trying to debug Fortran code with CodeBlocks on Windows 10. For some reason gdb is not catching / halting on SIGFPEs. I don't remember having this issue ...
Parker Lewis's user avatar
0 votes
1 answer
48 views

Why The debuger neglect the while loops?

This is a program that delete spaces in the beginning and the end of a string c, can you tell me please where is the error in it ? I already tried running it in the debuger. It seems that the while ...
Youness's user avatar
  • 11
1 vote
0 answers
506 views

Code blocks: A debugging check in this application has failed (loss of precision)

I keep getting the following error after running my code The debugger has failed error The weird thing is no matter what I do to the code I keep getting the same error. For example, I commented out ...
greatangle's user avatar
1 vote
1 answer
2k views

CodeBlocks Debugger Not Working. Error Creating Process (error 2)

I installed the gnu gcc compiler for c and when I installed codeblocks everything was working fine except the debugger. The program even compiles and runs but the debugger wont start. This is the ...
AayushGupta69's user avatar

15 30 50 per page
1
2 3 4 5
10