Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Does Dev Cpp compiler has bugs in debugger?

Status
Not open for further replies.

neocool

Member level 4
Joined
Jun 3, 2004
Messages
79
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,112
dev cpp bulgarian

HI,
I am using the last version of Dev Cpp compiler right now.
When allocating memory in one of my functions, during the debugging process I get an error "An Access violation (segmentation fault)". The function calls 2 times without a problem and then gives me the error.

However, when I complile file, there's no problem - it runs completely fine and allocates all I want.
There are some problems I wanted to fix, but I cannot use the debugger because of the above.

Could this be a buggy debugger problem? ;)

Eh, this takes too much time

Thanks
 

Antharax

Full Member level 4
Joined
Dec 31, 1999
Messages
208
Helped
14
Reputation
28
Reaction score
1
Trophy points
1,298
Activity points
2,865
dev-cpp and memory

Segmentation Fault:

https://cs-www.bu.edu/help/unix/segmentation_fault.html

You can blame the compiler/linker/debugger for allot of errors. But in 99.99% of the cases it's your own stupid mistake ;-) (And yes I know!)

Probably you're trying to access memory that doesn't belong to you!
Possibly you're trying to access memory already free-ed.

Pointers are powerfull but also difficult to debug ;-)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top