Tagged Questions
0
votes
0answers
31 views
bin\Debug permissions denied
I am using Code::Blocks for my C++ programming class, and have run into an error several times, most commonly after attempting to use the debugger.
The error reads as such:
ld.exe||cannot open ...
0
votes
2answers
96 views
Why do some C programs work in debug but not in release?
Ok,
So I am stuck here. I have code for a program that systematically executes people standing in a circle based off an algorithm, but I am having a problem with it crashing in release mode. My code ...
0
votes
1answer
54 views
CodeBlocks Breakpoints Ignoring Scope
I set a breakpoint inside a conditional statement that checks for a certain value of a custom datatype. The game will break, but the line it breaks on is completely outside of my breakpoint's scope. ...
0
votes
1answer
51 views
Problems Enabling Symbols in Code::Blocks (custom makefile)
I'm attempting to debug an open-source C++ game on Windows 7 x64, but the debugger windows in Code::Blocks are empty when I debug the program. There's a "CataclysmWin.cbp" file that's included in the ...
0
votes
1answer
57 views
to read the directory location written in file and to create new files in that directory in c++
here is the code for creating the directory it is switch case so i have placed it inside a block.
{
int index = 0 ;
char path[60];
system ( " cls " ) ;
ofstream ofile ;
cout < < " \ n ...
0
votes
0answers
43 views
Can't watch a public field of type vector< vector<int> > of an instance of a custom object
#include <iostream>
#include <vector>
using namespace std;
class travel
{
public:
vector< vector<int> > trace;
};
In a class that includes the previous .cpp, I ...
1
vote
1answer
376 views
Codeblocks cannot create output directory
I'm using Code::Blocks 12.11 in Widnows XP. I've been learning C++, so I haven't been working on any specific projects, just individual files. I'm trying to debug one of these files, but found from ...
0
votes
4answers
177 views
Anyone know a good, free debugger for C++?
I've been having a really hard time with those kinds of bugs that just don't make any sense, and an even bigger one with trying to figure out how Code::Blocks' debugger works. If there's any way to ...
0
votes
1answer
610 views
Using Codeblocks for step by step execution of my code
I remember there was shortcut key F8 in Turbo C that showed step by step execution of the code, and it also let you to see the values of the variables.
Is something similar available for Codeblocks?
7
votes
1answer
190 views
Good debugger tutorial for beginners
Does anyone know a good beginners tutorial
for using the debugger in C++?
I feel as if I am missing out on a lot. I know how to
step through the code and look at the local variables
(although often ...
0
votes
0answers
331 views
Can't use breakpoints in code::blocks even when debug settings are correct, linux
I've been trying to debug an error in a port of a console game I've made using code::blocks. But the breakpoint will just NOT stop at the breakpoint I set. I looked around the web and made sure -g was ...
0
votes
1answer
2k views
Code Blocks - wx/setup: no such file or directory
I'm trying to write my first cpp program on Windows+Code Blocks.
I've installed wxwidgets.
I have a label and a button.
When I hit F9, I get the error: error: wx/setup.h: No such file or directory.
...
0
votes
1answer
227 views
I cannot debug in Code Blocks due to missing symbols
I am trying to debug using Code Blocks but I cannot make it working. I get the following message:
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
femtosim
Adding source ...
1
vote
1answer
994 views
ubuntu codeblocks :warning: GDB: Failed to set controlling terminal: Operation not permitted
ubuntu version: 12.04
code:blocks 10.04
When I debug my program, the IDE output "warning: GDB: Failed to set controlling terminal: Operation not permitted".
Somebody have the same problem?
...
1
vote
1answer
332 views
I can't debug in Code::Blocks
I know this is a very common problem, but I tried a lot of stuff, I no one give me a solution. I have a program in C++ with C::B, and I cannot debug. I have the tick in the "-g" option at the "Build ...