Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Mono Dissect + breakpoint bug.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
h3x1c
Master Cheater
Reputation: 17

Joined: 27 Apr 2013
Posts: 306

PostPosted: Sat Jan 28, 2017 7:08 pm    Post subject: Mono Dissect + breakpoint bug. Reply with quote

To replicate, attach CE to a game the Mono Dissector will work with:

1: Open Dissect Mono.

2: Choose a method in any assembly and JIT it.

3: Right-click and select to toggle breakpoint on any instruction (which, in a real scenario, would be a meaningful instruction you'd want to break on).

4: Now right-click and toggle the breakpoint again to remove it (you could let the game break on the breakpoint, do whatever, then remove it as if you normally would; it's the general removing of the breakpoint that seems to cause the issue).

5: Now try to JIT either the same method or another.

When I do this, I get the following error:

Error:...gram Files (x86)\Cheat Engine 6.6\autorun\monoscript.lua:952: attempt to index a nil value (global 'monopipe')

If you close the Mono Dissect window and try to re-open it, it stays blank until you restart CE; however, if you restart CE, reattach it, run Mono Dissect, JIT a method, then toggle a breakpoint, it crashes my game.

This effectively means I have to restart the game and CE if I plan to do anything with Mono Dissect + JIT + utilize breakpoints.

_________________
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25815
Location: The netherlands

PostPosted: Sun Jan 29, 2017 1:30 am    Post subject: Reply with quote

before you activate mono features try setting toggling a breakpoint anywhere on and of and then activate the mono features. (activating the debugger involves reopening the process)

also, the mono features are designed to not work as long as there are breakpoints active. This is because a breakpoint could hit while ce is waiting for a symbol, causing a deadlock. (the mono feature runs inside the target process and is affected by whatever happens to it, like a breakpoint freeze)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
h3x1c
Master Cheater
Reputation: 17

Joined: 27 Apr 2013
Posts: 306

PostPosted: Sun Jan 29, 2017 1:43 am    Post subject: Reply with quote

After I toggled the breakpoint on/off, trying to activate mono features resulted in a "Failure to launch" error; however, I tried again directly after closing the error message and it worked just fine. I probably just needed to wait a couple of seconds after toggling the breakpoint off before running Mono Dissect.

Thanks for the deets regarding how the mono features work, too. Very good to know!

_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites