News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Suggest show function "type" instead of "actual type"

Started by ollydbg, March 16, 2009, 03:27:11 PM

Previous topic - Next topic

ollydbg

I found that each token keep two member variables.


        newToken->m_Type = readType;
        newToken->m_ActualType = actualType;


For example a function
const wxString& GetFilename() const { return m_Filename; } will show only "wxString" in the symbol navigator tree. (see the screen shot below).

I know that m_ActualType is used for "code completion", but I do suggest the "full type" should be shown in the navigator tree instead of a truncated "actual type".

Any Comments? Thanks for reading. :D




[attachment deleted by admin]
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

Solved. Patch file attachment.

[attachment deleted by admin]
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

By the way:
The patch in the thread to deal with the Opencv
http://forums.next.codeblocks.org/index.php/topic,10162.0.html
will be improved by change to:

m_Str= token + arg;

So ,the full Opencv function declaration will be shown in both tips and navigator tree. See the screen shot below, but it seems that Printf() will show a __mingwXXXXX befor int.



[attachment deleted by admin]
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.