This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: Initialization Commands


On 11/04/2009 10:33 AM, María de los A. Vázquez wrote:
I'm working on Windows Vista. I set the variable
INSIGHT_FORCE_READ_PREFERENCES
to 1, as you told me to do it, but it didn't work. I'm not able to read
the init file.

You might try starting insight, opening a console window and entering "tk set ::env(INSIGHT_FORCE_READ_PREFERENCES)" to verify that this variable is being set properly in the environment.


If you also do: "tk $::env(HOME)", what is the result? This is the directory that gdbtk.ini should be located in on windows.

If I enter the command
that you previously gave me:

(gdb) tk set ::GDBStartup(inhibit_prefs)

it continues returning "1". I don't know what I'm doing wrong. I'm
working with it since yesterday but I
don't get results. Is there another way to ignored the "-nx" command or
how can I obtain what I need??

You can always force gdb (or insight) to read preferences. Do it in gdb by editing main.c and rebuild/reinstall. For insight, simply edit prefs.tcl.


Did you build your version of insight or did you download it from somewhere?

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]