Thread: Dev-C++: Problems with Breakpoint Debugging

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    15

    Dev-C++: Problems with Breakpoint Debugging

    Hi,

    Currently I am using Notepad as my editor, and Dev-C++ for compiling purposes only. However, I noticed that Dev-C++ can be used as an editor as well. I find it much easier to read the code on Dev-C++ due to the various color displays representing different functions, comments etc.

    However, when I attempt to debug the codes, I am unable to use breakpoint debugging. I wish to use breakpoint debugging, and the watch function to check for changes in a variable's value within a loop.

    I read through some tutorials on forums on the net and was unable to find an answer to this. If I cannot be able to perform breakpoint debugging on Dev-C++, I was thinking of setting up Quincy as my primary editor/ compiler.

    Any tips on how to perform breakpoint debugging on Dev-C++?

    Thanks,

    Thileepan

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Dev-C++ has a forum at bloodshed.org; you might get better answers there. I haven't had any troubles using breakpoints in Dev-C++; click the line, choose set breakpoint, and then hit "F8" (I think) to run to breakpoint. Note that you can't run the file from the command line, or use the usual F9 shortcut key, as those will just run the program, not the program inside the debugger. (The first time you try this, it may ask you to recompile the program with debug information enabled; once you do, you'll have to hit F8 again to start debugging.)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Pointers Problems
    By mhelal in forum C Programming
    Replies: 8
    Last Post: 01-10-2007, 06:35 AM
  2. String Manipulation problems -_-
    By Astra in forum C Programming
    Replies: 5
    Last Post: 12-13-2006, 05:48 PM
  3. Rendering problems (DirectX?)
    By OnionKnight in forum Tech Board
    Replies: 0
    Last Post: 08-17-2006, 12:17 PM
  4. Whats better, C-Free or Dev C++??
    By i_can_do_this in forum Tech Board
    Replies: 10
    Last Post: 07-07-2006, 04:34 AM
  5. DJGPP problems
    By stormswift in forum C Programming
    Replies: 2
    Last Post: 02-26-2002, 04:35 PM