Home > Mobile >  Is there a way to typecast void pointers in Lauterbach
Is there a way to typecast void pointers in Lauterbach

Time:10-26

I have a structure containing a void pointer but when I need to view the contents of this pointer, I want it to be displayed as a pointer of a particular type. Is there a means to do this within Lauterbach? I tried using the symbol.AddInfo.Type command but it doesn't work as I expect.

CodePudding user response:

I suggest to use a cast operator directly in the watch window.

E.g.: Var.AddWatch (struct struct1 *)pLinkedListBuf

enter image description here

  • Related