Michel Kuenemann

Adding reflection to a C project

Discussion created by Michel Kuenemann on Jan 23, 2017
Latest reply on Jan 25, 2017 by Michel Kuenemann

Hi all,

 

I have coded a small and handy monitor which I link to all my projects. Now I would like to add to this monitor the ability to print out the value of any variable during run time, without having to add manually a symbol table to the project, as far as possible.

 

This feature is called "reflection".

 

See how this topic is treated in Stack Overflow here: linux - Can a running C program access its own symbol table? - Stack Overflow 

 

My questions:

 

1 - is there a way to add reflection to an LPCxpresso project ?

2 - where can I find examples of LPCxpresso projects implementing reflection ?

 

Thanks a lot,

Regards,

Michel Kuenemann

Outcomes