Author Topic: gdb_types.script is not loaded  (Read 322 times)

Offline pluto

  • Single posting newcomer
  • *
  • Posts: 9
gdb_types.script is not loaded
« 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.

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10965
    • Travis build status
Re: gdb_types.script is not loaded
« Reply #1 on: May 21, 2018, 03:47:34 pm »
Yes, Settings -> Debugger -> Disable startup scripts
(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!]

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1919
Re: gdb_types.script is not loaded
« Reply #2 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

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10965
    • Travis build status
Re: gdb_types.script is not loaded
« Reply #3 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.
(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!]

Offline pluto

  • Single posting newcomer
  • *
  • Posts: 9
Re: gdb_types.script is not loaded
« Reply #4 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

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10965
    • Travis build status
Re: gdb_types.script is not loaded
« Reply #5 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.
(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!]