avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] AVR Studio: "jump to source line in error" not working?


From: Blake Leverett
Subject: Re: [avr-chat] AVR Studio: "jump to source line in error" not working?
Date: Sun, 13 Jan 2008 10:04:45 -0700
User-agent: KMail/1.9.7

I did see something similar with AVR Studio (same version).  The debugger 
would not show the current line being executed, even though the assembly view 
showed correct debugging.  The "jump to source line" command always jumped to 
the last line in the file.

The cause turned out to be mixed CR/LF combinations in the source code.  Some 
editors in the project were set to Unix (LF only) and some were set for 
windows (CR/LF).  Making the source files consistent in line endings solved 
the problem.

Blake


On Saturday 12 January 2008, Chuck Hackett wrote:
> (Resend because I didn't see it come through the list - sorry if it's a
> duplicate)
>
> I have a problem with AVR Studio (Version 4.13, Build 528).
>
> I compile a project (GCC project, using F7 to rebuild) which results in
> various errors.  When I click on one of the errors in the build window
> nothing happens.  The project is in a folder under the C drive →
> "C:\ethernutx4x4x0\nutapp\Pump Monitor" (I changed ethernut-4.4.0 to
> ethernutx4x4x0 in case “-“’s and “.”s were confusing it).  When the project
> was under “My Documents” ("C:\Documents and Settings\Charles Hackett\My
> Documents\Pump Monitor") the "jump to source line in error" function worked
> fine.
>
> I need to move it to the new location to (as far as I can tell) satisfy the
> way Makefiles work for EtherNut.
>
> Does anyone have an idea of what I'm doing wrong?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]