-
Visual C++ Editor
I am using Visual C++ and have found that it is difficult to debug a programm when I can't see the line of the file either on the left hand side of the editor window or current line the cursor is on at the botton of the screen in a status bar. Can anyone tell me how I could enable these?
Thanks
-
I don't understand. When I drop into the debugger, the window that normally has the file view/class view etc. disappears and what is normally the edit window extends the whole width of the screen and shows me the source I am debugging. This is not some special arrangement, it has always done that!
-
Hmmm...
What I am trying to figure out is how to display line numbers. For example: When there is an error in my code, the debugger will tell me the line number it is on but unless I count line numbers down I have no way of knowing which line it is. Is there some way I can check the current line that the cursor is on or display the line number next to each line of code? Like in Microsoft Word, on the bottom of the screen on the status bar it tells you what the line number is that I am currently typing on.
Does that help?
-
If you are editing, there is a line/column number down in the bottom right of the screen, or at least, there is on mine.
*** EDIT ***
I just tried, it is still there when the debugger is active.
-
You can also perform: Edit->Goto or Cntrl-G, which will allow you to enter a line number to go to.
You can usually double click on anything in the ouput window and it will take you to the offending line.
gg