Variable watch!

alessandro masci002 at tc.umn.edu
Mon Mar 3 15:04:02 GMT 2003


Hi, I am trying to compile this simple program but I have problem with
the internal debugger:

#include <iostream>
#include <fstream>
//#include <cstdio>
//#include <math.h>
//#include <stdio.h>
//#include <stdlib.h>
//#include <string.h>
//#include <new>
using namespace std;

int main(int argc, char *argv[])
{
 char line[255];
 char ch[255];
 float RDC[255];
 int i, j, k, n;
 float A1, A2, phi1, phi2, Av;

i=2;
 
 if(argc!=2){
        cout<<'\n';
        cout<< "rdcfit \"file_name.inp\"\n";
        cout<<'\n';
        return 1;
        }
        //load experimental RDC
    ifstream in;
      // in.open(argv[1], ios::in | ios::binary);
//in.close();
return 0;
  }

The program seems to compile just fine, but the variable watch does not
show the variables values. More over if I click on the variable window,
the debugger get stop working, the memory and CPU usage build up and the
system slow down.
If I comment out the imput stream command (ifstream in;) everything
works fine!!! Any suggestion,

best regards,

Alessandro




-
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