This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: insight problem
- From: Keith Seitz <keiths at redhat dot com>
- To: "Stinson, Michael" <stins1m at cmich dot edu>
- Cc: "insight at sourceware dot org" <insight at sourceware dot org>
- Date: Wed, 15 May 2013 13:42:13 -0700
- Subject: Re: insight problem
- References: <6889E7CA6E704748A8A3A28A760E977C0D368168 at cmail103 dot central dot cmich dot local>
On 05/15/2013 01:36 PM, Stinson, Michael wrote:
When I try to bring up source in Insight I get
Error in sourced command file:
Invalid character '\f' in expression
Do you have a suggestion to solve this?
Are you attempting to use File->Source... for this? That doesn't do what
you think it does! :-)
The Source... menu option reads in/executes a gdb script. It is called
this (perhaps not so helpfully) because the equivalent gdb command is
also called "source".
If you want to look at a random source file in you executable, type it
into the file name combobox under the run button. Or you can manually
select it from that drop down list, but for non-trivial executables, it
is usually easiest to type it in and hit ENTER/RETURN.
Keith