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: 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
  #2  
Old 08-13-2020, 01:24
wilson bibe wilson bibe is offline
VIP
 
Join Date: Nov 2012
Posts: 492
Rept. Given: 489
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 853
Thanks Rcvd at 176 Times in 112 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
dnSpy oddities LaptoniC General Discussion 5 05-05-2019 22:34
[dnSpy Extension] TraceSpy phono Community Tools 7 12-06-2016 02:11
dnSpy Plugins n00b Developer Section 2 08-29-2015 17:11


All times are GMT +8. The time now is 09:19.


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