i'm using dev-c++ v4.9.9.2
under traditional chinese winXP Home
i can debug the codes.
but i can't add watch variables by any means.
pressing F4 while my cursor is on a variable will show a dialog with the name of the variable displayed, but when i click OK, there's nothing showing on the side panel "Debug" part.
can anyone help me solving this problem? thanx.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have y'all read the section in the thread titled "Please Read Before Posting a Question" on getting started with the debugger?
If you have, then you should have posted your "Basic 3" for a simple as possible example that shows your problem. (The Basic 3 are also covered in the "Please Read" thread)
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is also generally best, rather than tacking a "Me too" onto a months old post to start your own thread, preferably with the "Basic 3" I mentioned.
The reason I ask for this information is not to make extra, pointless work for you. The fact of the matter is that in programming, things can happen for a variety of reasons. A top level description, while it provides useful context, is far from sufficient to give reliable help. (Yes, we get lucky with guesses sometimes, but if you count on that, you are probably wasting your time)
What REALLY helps us help you better is a simple-as-possible test case, by that I mean a working program that is as simple as possible, and the associated information about how it was compiled (contained in the compile log), and what it was compiled on, the version number of Dev you are using - note I said version number, so terms like "newest" is not something we want to see. This is the what, how and with what that are the Basic 3. In your case, telling us exactly what you are doing to watch your variable, something like what I did in the getting started with the debugger section is also useful information.
Armed with this, we can see if there is something obvious amiss in what you are compiling, or how you are compiling it - subtle things like you have optimization turned on while trying to debug, or you don't have debug information turned on. But, here is the key - we can try and duplicate what you are seeing here. That is the heart of any good question (or problem report) - it contains the information neccessary to duplicate what you are seeing - which makes it much easier to work with things than a bunch of "try this and see what happens - no that didn't get it" exchanges.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i'm using dev-c++ v4.9.9.2
under traditional chinese winXP Home
i can debug the codes.
but i can't add watch variables by any means.
pressing F4 while my cursor is on a variable will show a dialog with the name of the variable displayed, but when i click OK, there's nothing showing on the side panel "Debug" part.
can anyone help me solving this problem? thanx.
I have the same problem,it's not solved yet,
who can help me? Thanks
Have y'all read the section in the thread titled "Please Read Before Posting a Question" on getting started with the debugger?
If you have, then you should have posted your "Basic 3" for a simple as possible example that shows your problem. (The Basic 3 are also covered in the "Please Read" thread)
Wayne
It is also generally best, rather than tacking a "Me too" onto a months old post to start your own thread, preferably with the "Basic 3" I mentioned.
The reason I ask for this information is not to make extra, pointless work for you. The fact of the matter is that in programming, things can happen for a variety of reasons. A top level description, while it provides useful context, is far from sufficient to give reliable help. (Yes, we get lucky with guesses sometimes, but if you count on that, you are probably wasting your time)
What REALLY helps us help you better is a simple-as-possible test case, by that I mean a working program that is as simple as possible, and the associated information about how it was compiled (contained in the compile log), and what it was compiled on, the version number of Dev you are using - note I said version number, so terms like "newest" is not something we want to see. This is the what, how and with what that are the Basic 3. In your case, telling us exactly what you are doing to watch your variable, something like what I did in the getting started with the debugger section is also useful information.
Armed with this, we can see if there is something obvious amiss in what you are compiling, or how you are compiling it - subtle things like you have optimization turned on while trying to debug, or you don't have debug information turned on. But, here is the key - we can try and duplicate what you are seeing here. That is the heart of any good question (or problem report) - it contains the information neccessary to duplicate what you are seeing - which makes it much easier to work with things than a bunch of "try this and see what happens - no that didn't get it" exchanges.
Wayne