Click here to Skip to main content
12,952,792 members (36,028 online)

ATL / WTL / STL

 
GeneralRe: resolved, with many curses directed at myself Pin
bkelly1310-Mar-13 15:44
memberbkelly1310-Mar-13 15:44 
GeneralRe: resolved, with many curses directed at myself Pin
Albert Holguin10-Mar-13 15:49
memberAlbert Holguin10-Mar-13 15:49 
Generalsomething new to me Pin
bkelly1310-Mar-13 16:14
memberbkelly1310-Mar-13 16:14 
GeneralRe: something new to me Pin
Albert Holguin11-Mar-13 7:53
memberAlbert Holguin11-Mar-13 7:53 
Questionrookie need help with STL Pin
spawn200420-Feb-13 7:40
memberspawn200420-Feb-13 7:40 
AnswerRe: rookie need help with STL Pin
Jonathan Davies21-Feb-13 1:05
memberJonathan Davies21-Feb-13 1:05 
AnswerRe: rookie need help with STL Pin
Rahul from Poona23-Feb-13 22:26
memberRahul from Poona23-Feb-13 22:26 
Questionlocals not valid in debugger Pin
bkelly1313-Feb-13 3:13
memberbkelly1313-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 Pin
Richard MacCutchan13-Feb-13 3:18
mvpRichard MacCutchan13-Feb-13 3:18 
GeneralRe: locals not valid in debugger Pin
bkelly1313-Feb-13 3:51
memberbkelly1313-Feb-13 3:51 
AnswerRe: locals not valid in debugger Pin
Albert Holguin13-Feb-13 4:42
memberAlbert Holguin13-Feb-13 4:42 
GeneralRe: locals not valid in debugger Pin
Richard MacCutchan13-Feb-13 5:36
mvpRichard MacCutchan13-Feb-13 5:36 
Question64 bit MFC application failed to create mdb and mdw files ? Pin
khaliloenit12-Feb-13 3:28
memberkhaliloenit12-Feb-13 3:28 
AnswerRe: 64 bit MFC application failed to create mdb and mdw files ? Pin
Richard MacCutchan12-Feb-13 4:57
mvpRichard MacCutchan12-Feb-13 4:57 
GeneralATL how get the name of the target class inside of a template? Pin
Frank Coder12-Feb-13 3:16
memberFrank Coder12-Feb-13 3:16 
GeneralRe: ATL how get the name of the target class inside of a template? Pin
Richard MacCutchan12-Feb-13 4:55
mvpRichard MacCutchan12-Feb-13 4:55 
GeneralRe: ATL how get the name of the target class inside of a template? Pin
Frank Coder15-Feb-13 19:51
memberFrank Coder15-Feb-13 19:51 
Questionadd sys dsn failed on windows 7 64 Pin
khaliloenit11-Feb-13 5:59
memberkhaliloenit11-Feb-13 5:59 
QuestionSQL Server Compact Edition Pin
Haakon S.11-Feb-13 4:23
memberHaakon S.11-Feb-13 4:23 
AnswerRe: SQL Server Compact Edition Pin
Richard MacCutchan11-Feb-13 4:42
mvpRichard MacCutchan11-Feb-13 4:42 
GeneralRe: SQL Server Compact Edition Pin
Haakon S.11-Feb-13 5:37
memberHaakon S.11-Feb-13 5:37 
GeneralRe: SQL Server Compact Edition Pin
Richard MacCutchan11-Feb-13 5:58
mvpRichard MacCutchan11-Feb-13 5:58 
Questionerror while trying to uplaod the file in current directory using c language Pin
raghvendrapanda30-Jan-13 19:34
memberraghvendrapanda30-Jan-13 19:34 
AnswerRe: error while trying to uplaod the file in current directory using c language Pin
Richard MacCutchan30-Jan-13 22:03
mvpRichard MacCutchan30-Jan-13 22:03 
AnswerRe: error while trying to uplaod the file in current directory using c language Pin
«_Superman_»1-Feb-13 20:34
member«_Superman_»1-Feb-13 20:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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.170525.1 | Last Updated 12 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid