EmbeddedRelated.com
Forums

crossworks vs. source file not found

Started by Jan Vanek March 25, 2010
Hi Paul,

some of my files are referenced via ../../something (because they are shared between projects) and this is not handled well by
CrossStudio. I raised a ticket about it couple of months ago.

Now when I try to open the .elf file the CrossStudio asks me to find all those files for it, one by one, by means of
File-Open dialog. I have very many source files and my patience was consumed so I canceled the File-Open for many of them. Now,
during debugging, the CrossStudio doesn't find the source file during single-stepping and I only get the disassembly. I tried to
rebuild and close/open the CrossStudio to somehow get rid of this cached information in a hope that CrossStudio will ask me for
those source files and I would patiently search for each of those. But it doesn't ask me anymore. Is there a way how can I reset
this?

With regards,
Jan

An Engineer's Guide to the LPC2100 Series

Hi Paul,

deleting .hzs file helps. It's obvious, could have saved sending the e-mail.

With regards,
Jan

----- Original Message -----
From: "Jan Vanek"
To:
Sent: Thursday, March 25, 2010 3:42 PM
Subject: crossworks vs. source file not found
> Hi Paul,
>
> some of my files are referenced via ../../something (because they are shared between projects) and this is not handled well by
> CrossStudio. I raised a ticket about it couple of months ago.
>
> Now when I try to open the .elf file the CrossStudio asks me to find all those files for it, one by one, by means of
> File-Open dialog. I have very many source files and my patience was consumed so I canceled the File-Open for many of them. Now,
> during debugging, the CrossStudio doesn't find the source file during single-stepping and I only get the disassembly. I tried to
> rebuild and close/open the CrossStudio to somehow get rid of this cached information in a hope that CrossStudio will ask me for
> those source files and I would patiently search for each of those. But it doesn't ask me anymore. Is there a way how can I reset
> this?
>
> With regards,
> Jan
>
Hi Jan,

Debug | Control | Search Paths

will show the source mappings the debugger is using. You can right click in session file map section and select clear.

Deleting the .hzs file will have the same effect+.

Regards
Michael

--- In l..., "Jan Vanek" wrote:
>
> Hi Paul,
>
> deleting .hzs file helps. It's obvious, could have saved sending the e-mail.
>
> With regards,
> Jan
>
> ----- Original Message -----
> From: "Jan Vanek"
> To:
> Sent: Thursday, March 25, 2010 3:42 PM
> Subject: crossworks vs. source file not found
> > Hi Paul,
> >
> > some of my files are referenced via ../../something (because they are shared between projects) and this is not handled well by
> > CrossStudio. I raised a ticket about it couple of months ago.
> >
> > Now when I try to open the .elf file the CrossStudio asks me to find all those files for it, one by one, by means of
> > File-Open dialog. I have very many source files and my patience was consumed so I canceled the File-Open for many of them. Now,
> > during debugging, the CrossStudio doesn't find the source file during single-stepping and I only get the disassembly. I tried to
> > rebuild and close/open the CrossStudio to somehow get rid of this cached information in a hope that CrossStudio will ask me for
> > those source files and I would patiently search for each of those. But it doesn't ask me anymore. Is there a way how can I reset
> > this?
> >
> > With regards,
> > Jan
>

Hi Michael,

I didn't switch to V2 to yet. Have to convince the upper layer first.

Regards,
Jan

----- Original Message -----
From: "nutleycottage"
To:
Sent: Thursday, March 25, 2010 6:48 PM
Subject: [lpc2000] Re: Fw: crossworks vs. source file not found
Hi Jan,

Debug | Control | Search Paths

will show the source mappings the debugger is using. You can right click in session file map section and select clear.

Deleting the .hzs file will have the same effect+.

Regards
Michael

--- In l..., "Jan Vanek" wrote:
>
> Hi Paul,
>
> deleting .hzs file helps. It's obvious, could have saved sending the e-mail.
>
> With regards,
> Jan
>
> ----- Original Message -----
> From: "Jan Vanek"
> To:
> Sent: Thursday, March 25, 2010 3:42 PM
> Subject: crossworks vs. source file not found
> > Hi Paul,
> >
> > some of my files are referenced via ../../something (because they are shared between projects) and this is not handled well by
> > CrossStudio. I raised a ticket about it couple of months ago.
> >
> > Now when I try to open the .elf file the CrossStudio asks me to find all those files for it, one by one, by means of
> > File-Open dialog. I have very many source files and my patience was consumed so I canceled the File-Open for many of them. Now,
> > during debugging, the CrossStudio doesn't find the source file during single-stepping and I only get the disassembly. I tried to
> > rebuild and close/open the CrossStudio to somehow get rid of this cached information in a hope that CrossStudio will ask me for
> > those source files and I would patiently search for each of those. But it doesn't ask me anymore. Is there a way how can I reset
> > this?
> >
> > With regards,
> > Jan
>