Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: modeless dialog & sockets Pin
Joaquín M López Muñoz25-Feb-02 7:42
Joaquín M López Muñoz25-Feb-02 7:42 
GeneralRe: modeless dialog & sockets Pin
25-Feb-02 8:33
suss25-Feb-02 8:33 
GeneralRe: modeless dialog & sockets Pin
Joaquín M López Muñoz25-Feb-02 10:10
Joaquín M López Muñoz25-Feb-02 10:10 
GeneralRe: modeless dialog & sockets Pin
Jon Hulatt25-Feb-02 23:33
Jon Hulatt25-Feb-02 23:33 
GeneralRe: modeless dialog & sockets Pin
26-Feb-02 1:49
suss26-Feb-02 1:49 
GeneralRe: modeless dialog & sockets Pin
Jon Hulatt25-Feb-02 23:24
Jon Hulatt25-Feb-02 23:24 
GeneralRe: modeless dialog & sockets Pin
Joaquín M López Muñoz26-Feb-02 0:21
Joaquín M López Muñoz26-Feb-02 0:21 
GeneralVisual C++ Debugger Macros and Add-Ins Pin
BootMan25-Feb-02 6:50
BootMan25-Feb-02 6:50 
I'm writing a complex C program with VC++ 6.0. This program is very low-level (OS-like), and will actually run on a non-PC device. So the program itself must be in portable C and cannot use any Windows-specific features or APIs. I’m doing primary development and simulation with VC++/Windows because it is a much more convenient IDE than what is available for the native machine.

Examining the program's state with the standard VC++ debugging features (local/global variables, memory window) is proving to be very tedious. I need some aids to help me display (and hopefully modify) the program-specific state in a more human-readable format.

I've been trying to learn about all the VC++ features that I never knew existed. It seems that some combination of Visual Basic Macros, Debugger Add-ins, and/or Visual Studio Automation Interface might be able to help me. But I need some advice from those who know more about these facilities.

The kinds of things I need to display are the program’s private internal:

- Heaps
- Stacks
- Data structures
- Object references
- Object contents
- Memory maps
- Configuration data
- Trace buffers

Initially, I would be happy with some simple display-only capability, such as just writing text to the console or debug output window. While I could do this with internal printf and trace statements, I’d prefer to do it “on demand”, for example, by invoking a VC++ Debugger VB macro.

Ideally, what I want is to be able to add some menu items and/or icons to the Debugger Toolbar. Selecting these items will launch custom code (written by me) which will display in a nicely formatted way my program's custom internal state. The next step beyond that is to display groups of items in their own custom Debugger GUI windows, and allow me to modify program data in those windows.

I realize that this is a lot of work, and amounts to writing pieces of my own custom symbolic debugger. But it might be worth it to me in the long run, especially when I realize that Visual Studio seems to be designed to support this kind of thing.

So ... I’d appreciate it if someone can point me to:

- Architectural documents
- "How to" documents
- API reference documents
- Sample code

that will help me in my quest.

Thanks a bunch!

Mitch Butler
GeneralRe: Visual C++ Debugger Macros and Add-Ins Pin
J Patel25-Feb-02 11:43
J Patel25-Feb-02 11:43 
Generaltooltips - how to retrieve the text Pin
deejay25-Feb-02 6:34
deejay25-Feb-02 6:34 
GeneralRe: tooltips - how to retrieve the text Pin
Jeremy Falcon25-Feb-02 9:04
professionalJeremy Falcon25-Feb-02 9:04 
GeneralRe: tooltips - how to retrieve the text Pin
deejay26-Feb-02 0:28
deejay26-Feb-02 0:28 
GeneralRe: tooltips - how to retrieve the text Pin
deejay28-Feb-02 5:17
deejay28-Feb-02 5:17 
GeneralGlobal variable clarifications Pin
dazinith25-Feb-02 6:01
dazinith25-Feb-02 6:01 
GeneralRe: Global variable clarifications Pin
Joaquín M López Muñoz25-Feb-02 6:15
Joaquín M López Muñoz25-Feb-02 6:15 
GeneralRe: Global variable clarifications Pin
Jon Hulatt25-Feb-02 6:21
Jon Hulatt25-Feb-02 6:21 
GeneralRemove CDialogBar Border Pin
Brian V Shifrin25-Feb-02 6:05
Brian V Shifrin25-Feb-02 6:05 
GeneralOle drag and drop Pin
cycosi25-Feb-02 5:31
cycosi25-Feb-02 5:31 
GeneralMDI Question Pin
RobJones25-Feb-02 4:54
RobJones25-Feb-02 4:54 
GeneralRe: MDI Question Pin
Carlos Antollini25-Feb-02 5:06
Carlos Antollini25-Feb-02 5:06 
GeneralRe: MDI Question Pin
RobJones25-Feb-02 5:12
RobJones25-Feb-02 5:12 
GeneralRe: MDI Question Pin
Carlos Antollini26-Feb-02 3:31
Carlos Antollini26-Feb-02 3:31 
GeneralProblem about serialization and filename Pin
Charles Liu25-Feb-02 4:36
Charles Liu25-Feb-02 4:36 
GeneralThe procedure entry point could not be located Pin
Rubio25-Feb-02 4:04
Rubio25-Feb-02 4:04 
GeneralRe: The procedure entry point could not be located Pin
Cliff Dabrowski25-Feb-02 4:37
Cliff Dabrowski25-Feb-02 4:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.