In Questa the following worked for me:
start simulation -> optimisation options -> visibility:
Set the option: apply full visibility to all modules (full debug mode)