User forums > Using Code::Blocks
Load and save watch file in 12.11
oBFusCATed:
--- Quote from: MortenMacFly on January 19, 2013, 08:38:46 am ---There was a patch in the bug tracker some time ago that did this...
--- End quote ---
I doubt it will do the job, because there is no serialization API for the watches.
What are the requirements for such a feature?
MortenMacFly:
--- Quote from: oBFusCATed on January 19, 2013, 07:12:36 pm ---What are the requirements for such a feature?
--- End quote ---
Save what needs to be saved for a BP, replay "adding" BPs' when loading the file. What else?
It was implemented really simple before... saving a few information to a text file... and it was one of my first contributions to C::B, IIRC... ;-)
oBFusCATed:
Yes, but now there is no single Watch class, but every plugin implements its own version and can add any property it feels necessary.
Do we want to restore the properties? Do we want to load all watches to the current active plugin or do we want to load them as they were.
It is not simple as you can see.
MortenMacFly:
--- Quote from: oBFusCATed on January 19, 2013, 09:48:12 pm ---It is not simple as you can see.
--- End quote ---
Well... there is one simple interface to GDB how you add watches. Thats all I want to save, nothing more, nothing less. It should be a simple as it was before.
Jenna:
If every plugin implements it's own version, the plugins should be able to have an own function to save the watches.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version