- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
In DevStudio+CVF, there was an option under View to see a list of Debug Windows such as Memory, call stack, Registers. In particular I used to like to look at memory locations by watching the LOC of a variable and pasting the value into the memory window.
I cannot find a similar facility in the VS+IVF Composer set-up, probably because of my unfamiliarity with the new set-up. Is there one? what about call stack and registers also?
Also, I would appreciate guidance as to how to achieve and maintain a particular tidy tiling of all the windows that can be open when editing files and debugging, as I find floating windows are a bit like slippery fish that dash for cover to one edge or another uncontrollably when you try drag them around, or else they zoom out to fill half the screen and cover everything else!
I cannot find a similar facility in the VS+IVF Composer set-up, probably because of my unfamiliarity with the new set-up. Is there one? what about call stack and registers also?
Also, I would appreciate guidance as to how to achieve and maintain a particular tidy tiling of all the windows that can be open when editing files and debugging, as I find floating windows are a bit like slippery fish that dash for cover to one edge or another uncontrollably when you try drag them around, or else they zoom out to fill half the screen and cover everything else!
Link kopiert
10 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I am a reluctant user of GUIs and VS, but I can answer the question in your first paragraph. Put a breakpoint at the first executable statement in your program (or another place of your choice) and run the program. When the breakpoint is hit, you can go to Debug->Windows and activate the windows that you want.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
There is still no 'emory' window available.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
There are actually four memory windows available, but you can see this only while the debugger is running.

- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
It took me a while to grasp the evanescence of these windows.
At first, given the large number of menu choices and combinations, I blamed my weak memory when I failed to find a window that I had seen before. Then, more or less by accident, I discovered that a useful thing to do with any new debugging job was to open the main source file and place one or more breakpoints in it and hit "go", just to be able to access the other windows.
At first, given the large number of menu choices and combinations, I blamed my weak memory when I failed to find a window that I had seen before. Then, more or less by accident, I discovered that a useful thing to do with any new debugging job was to open the main source file and place one or more breakpoints in it and hit "go", just to be able to access the other windows.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I don't have VS2005, so this is a guess, but won't take much effort from you. Click on the "Disassembly" tab first, and then try Debug->Windows. Do you see "memory", "registers", "stack", etc. ?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Nope, it just gives me disassembled code listing; no resizable window with an edit box on the top line where I can type in a memory location and a listbox below it that then displays a slice of the memory starting from the typed-in Hex address and with an ASCII translation of the bytes running down the side. Woe is me!
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Curious. I run VS2005 (professional and standard on different machines), and the Memory sub-menu is in the Debug > Windows menu just above Disassembly.
Can you see it/restore it via the Tools > Customize command (on the Commands tab under the Debug category)?
Something else to try - in the command window (under View > Other Windows here) you can type "memory" (or memoryn) to bring up the (n-th) memory window.
Can you see it/restore it via the Tools > Customize command (on the Commands tab under the Debug category)?
Something else to try - in the command window (under View > Other Windows here) you can type "memory" (or memoryn) to bring up the (n-th) memory window.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
My VS2005 on XP had Debug | Windows | Memory
But I recently upgraded to VS2010
What you will need to do (I cannot step through instructions here so I will sketch it for you) is
Starta debug session (do not do this in edit session) then
Tools | Customize | Commands tab | Debug catagory
Then drag commands elevator down to Memory 1, 2, 3, 4
Click and drag Memory 1 over to main ide window Debug, this will open, then hover over Windows, this will open, find a spot where you would like to see the Memory 1 option, and release the mouse button (drop the icon). Repete this for the other Memory window.
It is important you do this form a Debug session since the menu layouts of the edit session are different from those of the Debug session.
BTW you can also drop the icon(s) onto the tool bar as well.
Jim Dempsey
But I recently upgraded to VS2010
What you will need to do (I cannot step through instructions here so I will sketch it for you) is
Starta debug session (do not do this in edit session) then
Tools | Customize | Commands tab | Debug catagory
Then drag commands elevator down to Memory 1, 2, 3, 4
Click and drag Memory 1 over to main ide window Debug, this will open, then hover over Windows, this will open, find a spot where you would like to see the Memory 1 option, and release the mouse button (drop the icon). Repete this for the other Memory window.
It is important you do this form a Debug session since the menu layouts of the edit session are different from those of the Debug session.
BTW you can also drop the icon(s) onto the tool bar as well.
Jim Dempsey
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Many thanks Jim, that did it! I dropped the icon onto a tool bar. It opens fine.

Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite