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: 173
Rept. Given: 3
Rept. Rcvd 8 Times in 5 Posts
Thanks Given: 40
Thanks Rcvd at 146 Times in 56 Posts
Turkuaz Reputation: 8
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: 499
Rept. Given: 491
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 958
Thanks Rcvd at 178 Times in 113 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 17:19.


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