View Single Post
  #1  
Old 08-12-2020, 19:50
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 161
Rept. Given: 3
Rept. Rcvd 7 Times in 4 Posts
Thanks Given: 39
Thanks Rcvd at 136 Times in 49 Posts
Turkuaz Reputation: 7
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