xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> * Visual Studio Debugger Question *, Looking for help with "When hit.." option
Dwack
post Nov 26 2011, 05:57 PM
Post #1


X-S Young Member
*

Group: Members
Posts: 51
Joined: 8-January 11
Member No.: 449107



So I am debugging in VS, setting breakpoints inside an xex. What I am trying to do is use the "When hit" option to print messages to the output window when the breakpoint is hit. The goal is to get it to print a string that the register I am tracking is pointing to.

IPB Image

Result::

CODE
namePointer = 0x00000000b631ddb5
namePointer = 0x000000007001cb90
namePointer = 0x000000007001bed0


Changing the above message to "namePointer = {r4,s} || namePointer = {r4,x}" results in:

CODE
namePointer = -75 'µ' || namePointer = 0x00000000b631ddb5
namePointer = -112 '.' || namePointer =  0x000000007001cb90
namePointer = -48 'Ð' || namePointer = 0x000000007001bed0


Anyone know if there is any way to get it to print the string that the register points to?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dwack
post Nov 27 2011, 08:20 AM
Post #2


X-S Young Member
*

Group: Members
Posts: 51
Joined: 8-January 11
Member No.: 449107



So after a lot of searching around and more trial and error I was able to solve this myself.

If anyone is interested:

Successfully prints the string pointed to by r4.

IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
vampirexx
post Nov 27 2011, 05:27 PM
Post #3


X-S Young Member
*

Group: Members
Posts: 46
Joined: 25-June 10
Member No.: 439902



What is the purpose of this tool Dwack? To hack for cheats into the xex?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dwack
post Nov 27 2011, 05:54 PM
Post #4


X-S Young Member
*

Group: Members
Posts: 51
Joined: 8-January 11
Member No.: 449107



QUOTE(vampirexx @ Nov 27 2011, 11:27 AM) *

What is the purpose of this tool Dwack? To hack for cheats into the xex?



It's part of the debugging tools that come with Visual Studio. Used for debugging code on a Dev.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
K3thunder
post Jan 23 2012, 08:07 AM
Post #5


X-S Young Member
*

Group: Members
Posts: 38
Joined: 26-May 10
Member No.: 438338



this was useful, thanks dwack
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 25th May 2013 - 09:58 PM