Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2020, 19:50
Turkuaz Turkuaz is offline
Family
 
Join Date: Sep 2017
Posts: 129
Rept. Given: 1
Rept. Rcvd 6 Times in 3 Posts
Thanks Given: 26
Thanks Rcvd at 133 Times in 46 Posts
Turkuaz Reputation: 6
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
  #2  
Old 08-13-2020, 01:24
wilson bibe wilson bibe is offline
VIP
 
Join Date: Nov 2012
Posts: 446
Rept. Given: 478
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 414
Thanks Rcvd at 157 Times in 98 Posts
wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499
Are your app in mixed mode? If yes you can use X64dbg or Ollydbg to bypass the license call, I did this recently and get the necessessary patch for an app that I was reversing.
Greetings
Reply With Quote
Reply

Tags
breakpoint, dnspy

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 14:26.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2020 )