Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Support saving memory via VA Memory View

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
robh Posted - Apr 03 2018 : 09:50:47 AM
Hello

One feature I would love to see supported is to "dump" small areas of memory to file.

The default memory viewer inside Visual Studio supports viewing enough memory, but the dialog window is useless - copying memory requires fiddly Alt+Shift+Mouse to manually select and copy the hex dump!

5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 04 2018 : 2:58:41 PM
This makes more sense, and seems a lot more reasonable as a feature request to put in for our developers to consider. What "format" should the memory be dumped in? Just open a file and write out the memory block directly? That seems to be all that is required, I am just wondering if that will cause any unwanted side effects.
robh Posted - Apr 04 2018 : 09:31:22 AM
It wouldn't need to extend the IDE memory view window, rather a menu option to dump out a region of memory.

Something like:

VAssistX -> Debug -> VA Memory Dump


Which opens a dialog with these fields:


Address: address_or_symbol_name
Size: unsigned_size_in_bytes
Destination: file_path

save_button
progress_bar


One of my use-cases is dealing with external image data. After the image is downloaded I'd like to extract parts of it from memory.
feline Posted - Apr 04 2018 : 08:05:20 AM
If we tried to do something here, what would you want / need? One option is to replace / duplicate the IDE memory view window, but that seems a bit excessive. But trying to hook into the window and change the basic rules of how selecting text works also seems like a mess.

Another thought is to have a look at this utility - https://www.clipboardfusion.com/

I use it myself, but only use a few basic features, but in theory you should be able to set this to monitor the clipboard, and when you copy whole lines of text from the memory viewer window into the clipboard, have it recognise the pattern and then automatically do the search and replace to strip out just the column you want. So the end result will be the same, but without having to do the replace manually.
robh Posted - Apr 04 2018 : 04:33:18 AM
Thank you for your suggestion feline. I am doing something very similar (well identical.. except the regex!) at the moment to extract binary data from memory but it seems I am stuck with it!
feline Posted - Apr 03 2018 : 2:08:11 PM
Have you considered copying whole lines from the memory viewer window, and then doing a search and replace to just extract the hex dump "column" out of the copied lines? Place the mouse before the start of the line, click and drag down.

Using a text editor, doing a regular expression find and replace does this form me. Here I used the search string
^.*  (.*)  .*$
where that is two spaces in each of the blank spots. The replacement string is just "\1" without the double quotes.

Doing the same thing in VS2017, with the IDE's find and replace regular expressions works with the same search string, but the replace string needs to be "$1" instead, again without the double quotes.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000