473,403 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

dev-cpp debugging help

hi, im a cs student and im working on a MyString class and having alot of trouble i think it would help out a lot if i knew how to use the debugger in dev-cpp, in lab we learned how to use the one in code warrior but i dont have that compiler , please help
Feb 24 '07 #1
1 1914
DeMan
1,806 1GB
right clicking on a line of code will highlight it in a certain colour (my devcpp uses green, but I may have changed the settings somewhere along the way....)

Then click the right-most (i think) of the compile/run icons. When it gets to the line you clicked, the program will stop.
You can then click "step" to move one more line down your code. If you come to a method, "step" will execute the method and set you at the next line beyond, but you can click "step into" BEFORE the method to step through that method as well. While in debug mode, hovering (or right clicking) a variable should bring up its' value in the screen on the left hand side. Continue will continue to execute code as normal until either it hits another break point or completes the programme. Stop execution will (obviously?) stop the program where it is an reset the variables.

There are more complex things you can do to track variables if you like. If you specify other things you want to do, someone may be able to elarborate....
Feb 24 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: simduss | last post by:
Hi, First of all, I'm a beginner with Unix. I have a "make" (Unix command) problem with a Pro*C sub-program since I installed Oracle8i (before I was at 7.3.4). I have a script builder that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.