[GNC-dev] Co-Owner (v0.3.0)
john
jralls at ceridwen.us
Wed Jun 29 23:42:56 EDT 2022
> On Jun 29, 2022, at 10:32 AM, Ralf Zerres <ralf.zerres at mail.de> wrote:
>
> Hey all,
>
> I'm still active on hacking the coowner branch.
> It's quite a stony path, but I do my best and got into the code
> structure quite well. The active, rebases branch is now called
> `cooowner`. No i do get stuck on two nasty problems. Appreciate your
> advice:
>
> * seems there is the need of a specific GTK environment
> Which one is needed to use glade and code integration (seems plaind
> 3.x version isn't enough)
>
> * given situation: compiles, but i introduced a regression
>
> 11:23:34 ERROR <gnc.engine> gboolean
> qof_choice_add_class(const char*, char*, char*): assertion
> 'qof_object_is_choice(select)' failed
>
> * debug gnucash
> build path:
> cd ~/build-coowner;
> cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=./install -
> G Ninja ..)
>
> no i'm strugglin within gdb. Since the app is multi-threaded, i
> like to simplify the debug session and wonder if it would be possible
> to just run with a singel thread?
>
> * does gnucash have a chat for active development (mattermost, discord,
> et al?)
>
We're severely behind in cleaning out deprecated Gtk code so anything from around 3.10 should work OK. Glade is another matter, Bob Fewell keeps regenerating the Glade files with new versions. I avoid the problem by using emacs on glade files, but otherwise you need to keep up to date. Maybe Bob can jump in with some more advice.
The part of GnuCash that you're interested in is single-threaded. Guile and WebKit fire off some threads for their own nefarious purposes but you can ignore them.
CMAKE_BUILD_TYPE=Debug doesn't turn off optimization, you need to add -O0 or -O1 to CMAKE_CPP_FLAGS if you need to have all of your locals and args populated and your code to step linearly.
We have an IRC channel, see https://wiki.gnucash.org/wiki/IRC, with some of the core team usually present.
Regards,
John Ralls
More information about the gnucash-devel
mailing list