Click here to Skip to main content
       

ATL / WTL / STL

 
GeneralRe: resolved, with many curses directed at myself Pinmemberbkelly1310-Mar-13 15:44 
GeneralRe: resolved, with many curses directed at myself PinmemberAlbert Holguin10-Mar-13 15:49 
Generalsomething new to me Pinmemberbkelly1310-Mar-13 16:14 
GeneralRe: something new to me [modified] PinmemberAlbert Holguin11-Mar-13 7:53 
Questionrookie need help with STL Pinmemberspawn200420-Feb-13 7:40 
AnswerRe: rookie need help with STL PinmemberJonathan Davies21-Feb-13 1:05 
AnswerRe: rookie need help with STL PinmemberRahul from Poona23-Feb-13 22:26 
Questionlocals not valid in debugger [modified] Pinmemberbkelly1313-Feb-13 3:13 
Windows XP Pro, Visual Studio 2008, C++, MFC
 
Start an application in the debugger and step over:
 
unsigned int length = 0;
length = strlen( some_char_array );
 
When hovering over the variable the debugger will not show a value for length. It does show the text of some_char_array, passed in as an argument. Quick watch claims that length is not defined. A breakpoint was set in the constructor of that object and it is being called. The same problem exists there also.
 
In the below fragment neither the if or the else is executed:
 
if( length < SOME_CONSTANT )
  { X = 1; }
else
  { X = 2; }
 
What have I done that will cause the debugger to not show variables?
 
EDIT: To be more precise the quickwatch says:
CXX0030 Error: expression cannot be evaluated.
 
Thanks for your time

modified 13-Feb-13 9:44am.

AnswerRe: locals not valid in debugger PinmvpRichard MacCutchan13-Feb-13 3:18 
GeneralRe: locals not valid in debugger [modified] Pinmemberbkelly1313-Feb-13 3:51 
AnswerRe: locals not valid in debugger PinmemberAlbert Holguin13-Feb-13 4:42 
GeneralRe: locals not valid in debugger PinmvpRichard MacCutchan13-Feb-13 5:36 
Question64 bit MFC application failed to create mdb and mdw files ? Pinmemberkhaliloenit12-Feb-13 3:28 
AnswerRe: 64 bit MFC application failed to create mdb and mdw files ? PinmvpRichard MacCutchan12-Feb-13 4:57 
GeneralATL how get the name of the target class inside of a template? PinmemberFrank Coder12-Feb-13 3:16 
GeneralRe: ATL how get the name of the target class inside of a template? PinmvpRichard MacCutchan12-Feb-13 4:55 
GeneralRe: ATL how get the name of the target class inside of a template? PinmemberFrank Coder15-Feb-13 19:51 
Questionadd sys dsn failed on windows 7 64 Pinmemberkhaliloenit11-Feb-13 5:59 
QuestionSQL Server Compact Edition PinmemberHaakon S.11-Feb-13 4:23 
AnswerRe: SQL Server Compact Edition PinmvpRichard MacCutchan11-Feb-13 4:42 
GeneralRe: SQL Server Compact Edition PinmemberHaakon S.11-Feb-13 5:37 
GeneralRe: SQL Server Compact Edition PinmvpRichard MacCutchan11-Feb-13 5:58 
Questionerror while trying to uplaod the file in current directory using c language Pinmemberraghvendrapanda30-Jan-13 19:34 
AnswerRe: error while trying to uplaod the file in current directory using c language PinmvpRichard MacCutchan30-Jan-13 22:03 
AnswerRe: error while trying to uplaod the file in current directory using c language Pinmember«_Superman_»1-Feb-13 20:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 9 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid