Code::Blocks Forums

User forums => Help => Topic started by: pluto on May 21, 2018, 03:31:34 pm

Title: gdb_types.script is not loaded
Post by: pluto on May 21, 2018, 03:31:34 pm
Hi :)
I've customized the gdb_types script, but It's not loaded.
The Codeblocks log doesn't mention it, nor the debugger log.
I've even used Sysinternal's Process Monitor to see when it gets opened, but it doesn't show up..
Do I have to enable some setting or some plugin?
Thanks.
Title: Re: gdb_types.script is not loaded
Post by: oBFusCATed on May 21, 2018, 03:47:34 pm
Yes, Settings -> Debugger -> Disable startup scripts
Title: Re: gdb_types.script is not loaded
Post by: BlueHazzard on May 22, 2018, 06:05:00 pm
and you probably have to add it as source in the startup parameter, depending if you are on windows or linux
Title: Re: gdb_types.script is not loaded
Post by: oBFusCATed on May 22, 2018, 08:05:15 pm
What is gdb_types? Are you talking about the one used for our watches?
This one no longer works in newer releases. The code is fully removed. For watches you need a python enabled gdb and the appropriate printer scripts.
Title: Re: gdb_types.script is not loaded
Post by: pluto on May 27, 2018, 08:25:22 pm
What is gdb_types? Are you talking about the one used for our watches?

Yes.
I think you should remove the file if it's not used anymore :p
Title: Re: gdb_types.script is not loaded
Post by: oBFusCATed on May 27, 2018, 08:35:45 pm
I'll do this.
I've removed the other file, but I have forgotten to remove this one.
Sorry for the causing a bit of confusion.