Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Return codes translation!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Lanaccess
Starting Member

Spain
1 Posts

Posted - May 14 2004 :  08:16:21 AM  Show Profile
Hello!

I think that it shuold be very interesting to see numerical return code and his define or enum value text in debug mode.

For example:
-----------------------------------
#define S_OK 0

...

HRESULT foo(void)
{
...
return S_OK;
}

...

void foo2(void)
{
HRESULT ret = foo();
}
-----------------------------------

In debug mode, when tooltip appears it will could display "0 (S_OK)". I think that it would be more interesting for the codes defined in the MSDN than private codes.

Best regards!

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - May 14 2004 :  11:14:54 AM  Show Profile
VAX can not access debug information, if I understood correctly.
But to see this kind of information, just add a watch variable like "ret,hr". Adding ",hr" tells VC that this is a HRESULT and should be interpreted, which it does nicely by showing you error number and the text, if it can find any.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 16 2004 :  11:06:14 PM  Show Profile
Uniware is correct. VA X cannot access the information you want during debug.

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000