Skip to content Skip to sidebar Skip to footer

JavaScript Variables Memory Location

Is there a way to see where the variable is located in the memory? In ActionScript for example in debug mode you can see the memory location of the variable I am using Google Chrom

Solution 1:

Take a memory snapshot. This will show in detail what kind of objects are floating around, where and how many they are.

Example view
(source: google.com)

Of course, it won't show you the exact memory or register addresses, but you hardly will need those for debugging javascript.


Solution 2:

No, it isn't possible. Due to way javascript interpretes works, it is quite hard to get memory address.


Post a Comment for "JavaScript Variables Memory Location"