Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: rogeriodec on May 20, 2018, 01:46:12 am
-
Currently when I close a project, all my bookmarks and breakpoints are lost.
Is there any way to prevent this?
-
Nope.
-
The plugin BrowseTracker saves bookmarks but not breakpoints.
-
Thank you.
Despite yet another of obfuscated grumpy responses >:(, it is good to know that there is a solution.
I also see that you are the developer, congratulations!
However I can not make it work. I just managed to get his toolbar to appear, but nothing works.
However it appears as an activated plugin.
How do I solve this?
-
Despite yet another of obfuscated grumpy responses >:(
OK, note taken.
-
Enable Bookmarks under Settings/Editor/Browsetracker.
Bookmarks are automatically saved when the project is closed, and restored when the project is opened.
Note: Debugger breakpoints are *not* saved.
-
Note: You have to hit "save all" before closing, or nothing will get saved
-
Thank you Pecan and BlueHazzard!
I confess I was almost giving up CodeBlocks, but your attention made me come back to believe in this great project. Thank you again.
-
I confess I was almost giving up CodeBlocks, but your attention made me come back to believe in this great project.
Another grumpy statement from rogeriodec
-
touché ! ;D
-
Is there a ticket for the breakpoints?
-
BlueHazzard:
Yes, rogeriodec added one, probably there are others about the same thing.
Just keep in mind that a patch won't be accepted if it doesn't provide and use a common api which makes it possible to store stuff per project or per workspace.
And if the api stores stuff in separate files it stores them in a single .something folder.
-
I have partially implemented this feature around year 2009, see this discussion:
Some thoughts on doing breakpoints persistent (http://forums.codeblocks.org/index.php/topic,10704.msg73335.html#msg73335)
And this patch: Patch 2775 - Code::Blocks History (http://alpha0010.github.io/cb-history/patches/2775.html)
But as it is not a common API related implementation. :)
-
I am happy to realize that this question is pertinent. From the point of view of the user, it's a simple question: the user wants the environment to be exactly the same as when the project was closed.
One example that was fixed in the last nightly build was about keeping the folds.
But this goes for everything, folds, breakpoints, bookmarks, watches, anyway, as I said, exactly as it was before closing the project.