S
S
spry2010-12-25 17:30:30
linux
spry, 2010-12-25 17:30:30

similar to DevPartner for Linux

Is there a subject? Debage is not my program, there is an array declaration in the global scope
unsigned char cache[1024 * 32];
after transferring this happiness to dynamic memory by
unsigned char *cache = NULL;
cache = (unsigned char*)malloc(1024 * 32);
there is a memory crash because another variable abruptly becomes non-empty (and should be 0 all the time). Apparently, somewhere he writes something in the wrong place, if he were debugging under Windows, he would be a dev partner, but under Linux I don’t know how to debug like that.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tzlom, 2010-12-25
@tzlom

in general, gdb
, however, is worth a try and Valgrind,
so as not to be killed about the miracle-console-where-here-toilet interface, I recommend KDevelop or QTCreator - gdb support is available

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question