Does it exist some way to find a specific address in visual studio ? when I disassembly my c++ code, when a function is called (ex. call 6A25DDA4 ) I'd like to go to that address, but I cannot understand how to reach it except by moving the bar up or down. I would like to type the address directly and find it.
            Asked
            
        
        
            Active
            
        
            Viewed 5,404 times
        
    0
            
            
        - 
                    1You can indeed type the address right into the disassembly window (at the top) and press Enter. Just make sure to prefix any hex addresses with `0x` for it to be correctly interpreted. – Cameron Jan 07 '20 at 19:58
 - 
                    @Cameron I'm sorry but I cannot find this disassembly window. Where is it ? I'm using visual studio 2017. – Tony92 Jan 07 '20 at 20:07
 - 
                    can no one help me ? – Tony92 Jan 07 '20 at 20:19
 - 
                    1Debug > Windows > Disassembly menu command. Make sure you are doing this while debugging, looking at an assembly listing doesn't help you. – Hans Passant Jan 07 '20 at 20:21
 - 
                    I am already in the disassembly window. Near each instruction there is an address. I want to reach a specific address. Where can I paste it ? – Tony92 Jan 07 '20 at 20:25
 - 
                    is not there some search bar ? – Tony92 Jan 07 '20 at 20:28
 
1 Answers
9
            There's a box near the top of the window labelled 'Address:'. Just type your address in there (prefixed with 0x if it's hex) and press return.
Screenshot:
        Paul Sanders
        
- 24,133
 - 4
 - 26
 - 48
 
- 
                    thank you my friend for the picture. It works very well for c++. I have tried with c#. I create a function and then the main call that function. In disassembly window I read Call 00A30438. How ever if I try to write 0x00A30438 an error occurs, it tells me that no address can be found, why ? – Tony92 Jan 07 '20 at 21:03
 - 
                    Try that with a Debug build. In my experience, options with a Release build are limited with C# – Paul Sanders Jan 07 '20 at 21:57
 - 
                    mannagg a baciamell, mo bast nu poc e t facc sape. OKOK thank you friend you helped me. – Tony92 Jan 07 '20 at 22:37
 
