News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Splitting debugger in two - specific debugger and common GUI

Started by oBFusCATed, July 26, 2009, 01:27:44 PM

Previous topic - Next topic

ollydbg

Hi, all debugger exports, did you consider saving the breakpoint after we close a project. and load the breakpoint when loading a project?

I have done that several months ago, I nearly forget that. see here: Watches and breakpoints persistent, I'm not sure this can be easily done in the debugger branch. :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.

oBFusCATed

Morten: I've updated the svn server, probably I need to do something with the repo, will look at it tonight

Olly: I've not forgotten this feature, but I don't like the implementation! C::B needs an API to store user information per project/workspace in single file, not N files as it is now.
(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!]

MortenMacFly

Quote from: ollydbg on March 01, 2010, 08:52:47 AM
see here: Watches and breakpoints persistent, I'm not sure this can be easily done in the debugger branch. :D
I still have that merged (as far as possible) with the debugger branch in my local copy. It's not forgotten, just pending as it needs some re-write.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

Quote from: MortenMacFly on March 01, 2010, 07:41:47 AM
Mismatched FS module version for 'fsfs': Found 1.6.6 expected 1.6.9.

My svn server needed a restart after the update, should work now  8)
(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!]

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

And another patch: http://smrt.is-a-geek.org/codeblocks/dbg_refactor0012.patch

1. Implemented Set Next statement/Jump to cursor, yey
2. Fixed a bug in the code for adding breakpoints
3. Made the watches window more user friendly
4. Fixed a redraw issue in watches window

Morten: Do you have a pause icon in the same style as the other icons in the debugger set?
(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!]

Ceniza


blueshake

hope it can be merged into trunk as soon as possible. :D :D :D
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

oBFusCATed

(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!]

oBFusCATed

Little addition to the previous patch: http://smrt.is-a-geek.org/codeblocks/dbg_refactor0012.1.patch

1. Implemented Set Next statement/Jump to cursor, yey
2. Fixed a bug in the code for adding breakpoints
3. Made the watches window more user friendly
4. Fixed a redraw issue in watches window
New: 5.  Fixed bug: "adding breakpoint while running doesn't hide the current position marker"
(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!]

MortenMacFly

Quote from: oBFusCATed on March 03, 2010, 05:36:44 PM
Morten: Do you have a pause icon in the same style as the other icons in the debugger set?
No, but I think it should be orange and have the typical pause sign as you know it from CD players, like:

[ " ]

:lol:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

Agreed  :lol: now we need someone to do it :)
Where have you got the other icons in the new set?
(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!]

MortenMacFly

Quote from: oBFusCATed on March 08, 2010, 04:03:18 PM
Where have you got the other icons in the new set?
I've forgotten. It was either from a patch (search for closed patches assigned to me in the patch tracker) or (even worse) from the forums. But I think we should start with re-colouring the existing icon from green to orange... this can be easily done.- ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

OK, I'll see what I can do.

Another question:
What do you think is needed in order to get this branch merged in trunk?
The major feature that is missing (user visible) is "local variables/function arguments", but for that one I'll need to modify C::B a lot, because I want them to be in separate windows, not as before in the watches window.
(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!]

oBFusCATed

(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!]