[Anjuta-list] Can see parameters, can't see local declarations...
- From: Omar Bazavilvazo <obazavil hotmail com>
- To: anjuta-list lists sourceforge net
- Subject: [Anjuta-list] Can see parameters, can't see local declarations...
- Date: Thu Sep 27 10:46:09 2001
Greetings, me again, I hope you can help me (again)
I have this code:
========================================
/* Created by Anjuta version 0.1.7 */
/* This file will not be overwritten */
#include <stdio.h>
void mifuncion(int par);
int global=2;
void mifuncion(int par) {
char ch='a';
printf("Par %d, ch %c", par, ch);
}
int main()
{
int i=0;
int myvar;
myvar=0;
printf("Hello world\n");
i = 2;
myvar = 4;
mifuncion(123);
return (0);
}
========================================
I start debuging, put a breakpoint inside mifuncion, <F4>, open program
stack, and select the frame 0 (mifuncion). I CAN see "par", but can't see
"ch" (says the same, doesn't recognize my local declared vars.
What I'm doing wrong or how can I fix this?
Thanks again, and sorry for the silly questions :P
Regards,
Omar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]