View Single Post
  #1  
Old 08-12-2020, 19:50
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 183
Rept. Given: 3
Rept. Rcvd 9 Times in 6 Posts
Thanks Given: 42
Thanks Rcvd at 157 Times in 61 Posts
Turkuaz Reputation: 9
Dnspy does not hit breakpoint

Hello all,
I am trying to debug a .NET programme with Dnspy. It stops in some breakpoints, does not stop others.
Then I added below codes however It did not stops but MessageBox shows.

Code:
if (Debugger.IsAttached)
			{
				Debugger.Break();
			}
Debugger.Launch();
Debugger.Break();
MessageBox.Show("Select License File");
How can be this?
Because It runs in another thread?
What must I do?

Regards
Reply With Quote