ViewModelA:
inside its constructor (breakpoint hits the foll. line):
Messenger.Default.Register<int>(this, "token", OnHitIt);
ViewModelB:
breakpoint does hit this line:
Messenger.Default.Send(hitItId, "token")
But for some reason breakpoint never hits OnHitIt method, what could be the reason…
Try using
On ViewModelA:
And the OnHitIt method would be-
On ViewModelB: