Author Topic: Is it possible to implement this functionality in debugger plugin?  (Read 4495 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Preventing the debugger from stepping into trivial functions with NoStepInto .

Somethimes it is also annoying when the debugger run into the constructor of parameters. :D
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Is it possible to implement this functionality in debugger plugin?
« Reply #1 on: December 29, 2009, 12:06:40 pm »
Not supported by GDB, unfortunately.

Here is a chat log from the #gdb at irc.freenode.net
Code
(2009-12-29 12:45:08) obfuscated: hello, is there a way to do the same thing (see the link) with gdb as with vstudio's debugger - http://www.litwindow.com/Knowhow/wxHowto/wxhowto.html#nostepinto
(2009-12-29 12:47:34) brobecke: not as far as I know.  This is something that has been requested once or twice in the past...
(2009-12-29 12:49:33) pholklore: it's such a common request that the last PR filed wants the same basic thing.  PR11117

So we should wait
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Is it possible to implement this functionality in debugger plugin?
« Reply #2 on: December 29, 2009, 02:50:00 pm »
Thanks for the reply.
Is it possible done in Debuggerplugin? When press "Step into" button, we should go to the function implementation body.( not the function of others).
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Is it possible to implement this functionality in debugger plugin?
« Reply #3 on: December 29, 2009, 02:58:46 pm »
Not sure, If possible it is very hard to do.
And the debugger plugin is not the place to do it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]