Can you please explain the problem more clearly?
What exactly are you doing (show a code snippet and/or share a minimal repro
on your OneDrive)?
In what way does this fail? What is the expected behavior, and how does that differ from the actual behavior?
If it works with a breakpoint but not without one then a timing issue is likely, but you don't provide enough information to do more than guess.