[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Variable watch!
From:       alessandro <masci002 () tc ! umn ! edu>
Date:       2003-03-03 15:04:02
[Download RAW message or body]

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@kdevelop.org with the following body:
unsubscribe »your-email-address«
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic