This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is it possible to view variable name from memory location?

Hi,

The question came to mind during one of the debugging session.

In one of the program, because of the improper implementation of the strcpy command, variable value got modified than its memory size. I like to know which variable got modify because of this action other than the intended one.

From variable name, I can able to view the allocated memory area.  I want to do exactly opposite of this action.

Is it possible??

  • Hello,

    Sandeep UD said:
    From variable name, I can able to view the allocated memory area.  I want to do exactly opposite of this action.

    If you go to the address in the memory browser view, it should display the name of any static and global variables

    Thanks

    ki

  • Thanks for your prompt reply... :)

    The name part, I never use to check. I always concentrate on the memory address only.

    Thanks for your support.