News:

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

Main Menu

How to go back to last position in source code?

Started by lazy_fox, April 08, 2009, 03:37:09 PM

Previous topic - Next topic

lazy_fox

When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

ollydbg

Enable Source Track plugin.
And use alt+ arrow to move your caret.
I have asked this kind of question on this forum before, just search.
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.

lazy_fox

Quote from: ollydbg on April 08, 2009, 03:42:51 PM
Enable Source Track plugin.
And use alt+ arrow to move your caret.
I have asked this kind of question on this forum before, just search.

Where can I find "Source Track plugin"?
Thanks...

ollydbg

Quote from: lazy_fox on April 09, 2009, 02:28:58 AM
Quote from: ollydbg on April 08, 2009, 03:42:51 PM
Enable Source Track plugin.
And use alt+ arrow to move your caret.
I have asked this kind of question on this forum before, just search.

Where can I find "Source Track plugin"?
Thanks...
Select it when you install codeblocks 8.02.
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.

Jenna


mmkider

Quote from: lazy_fox on April 08, 2009, 03:37:09 PM
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.next.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.

lazy_fox

Quote from: mmkider on April 09, 2009, 10:00:33 AM
Quote from: lazy_fox on April 08, 2009, 03:37:09 PM
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.next.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.


I can't find the download entrance.
Please get me a direct link, thanks.

ollydbg

Quote from: lazy_fox on April 10, 2009, 05:50:36 PM
Quote from: mmkider on April 09, 2009, 10:00:33 AM
Quote from: lazy_fox on April 08, 2009, 03:37:09 PM
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.next.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.


I can't find the download entrance.
Please get me a direct link, thanks.
http://forums.next.codeblocks.org/index.php/topic,9886.msg69114.html#msg69114
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.

lazy_fox

Quote from: ollydbg on April 11, 2009, 09:01:28 AM
Quote from: lazy_fox on April 10, 2009, 05:50:36 PM
Quote from: mmkider on April 09, 2009, 10:00:33 AM
Quote from: lazy_fox on April 08, 2009, 03:37:09 PM
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.next.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.


I can't find the download entrance.
Please get me a direct link, thanks.
http://forums.next.codeblocks.org/index.php/topic,9886.msg69114.html#msg69114

I found it. But I don't know how to import this TraceBar?
I use Linux, and download both TraceBarSrc.zip and TraceBarbin.zip.

lazy_fox

I can't build TraceBar, see the following pic

[attachment deleted by admin]