Watching variables problem

daniel mora moradaniel at hotmail.com
Tue Jan 13 11:54:53 GMT 2004


Im running kdevelop 3.0.0.b2
Im trying to debug a simple HelloWorld code. I have a breakpoint in the 
first line. At the begining the variables show their values in the watch 
window but when I inspect the vector variable expanding it, the value of all 
the variables dissapears. I dont know if it is a bug or what. I think that 
the debbuger is not refreshing the watch window when a variable is expanded.
Any help?

this is the source code:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <iostream>
#include <cstdlib>
#include <vector>
using namespace std;
int main(int argc, char *argv[])
{
  int i= 2;
  vector<int> v(100);
  for ( i=0; i<100;i++)
    v.push_back(i);
  string s = "Hello, world!";
  cout << s << endl;
  return EXIT_SUCCESS;
}

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list