Leverage the power of Visual Studio 2019 and the debugger to build high-performance Android and/or iOS apps and games in C, share C libraries to target both mobile platforms and Windows, or write once and run across all mobile platforms with Xamarin and C. Mar 29, 2017 Learn how to debug your code using Dev C. Feb 17, 2020 Get latest updates about Open Source Projects, Conferences and News. Sign Up No, Thank you No, Thank you. I've just installed Dev-C 5.11 on Windows 7 64 bits. I can compile and execute the program just fine. I can add a watchpoint and go step by step, BUT if I add a Watch to see a variable, the debug freezes.
Whaaat?? 18mb?? This can't be! Basically all what I am loading is 2 small sprite grids with ~70 Kbs altogether. Maybe I am just loading them more than once resulting in that ...
So, I tried Orwel's Dev-C++ 5.4.2 and it compiled. However, when I come to run the exe, nothing opens. Tried using debugging mode, and some very weird stuff happened. 1-I placed breakpoints all over the 2 files (the main and the header file), but the debugger would ignore everything, and jumps into this line: http://i33.servimg.com/u/f33/16/27/78/35/screen12.png 2-I clicked on 'next line', and the debugger moved normally to the next line: http://i33.servimg.com/u/f33/16/27/78/35/screen13.png 3-I clicked on 'next line' once more expecting that the debugger would enter the main function, but then: http://i33.servimg.com/u/f33/16/27/78/35/screen15.png It jumped to the closing bracket of the function 'breakpoints invalid'... 4-Tried clicking 'next line' 3 more times, and I received a 'segmentation fault': http://i33.servimg.com/u/f33/16/27/78/35/screen16.png 5-Clicking on ok with 'show CPU window' checked: http://i33.servimg.com/u/f33/16/27/78/35/screen17.png : Thanks ne555, I appreciate your time and dedication =) How To Debug Code In Dev C++
Sep 19, 2010 Debugging in the sense of literally debugging your program (removing bugs) and debugging as an entity, the debugger you use to single-step through programs. I think later in the day i'll modify it to the three sections you suggested, that's a good idea.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |