-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: PreprocessorThe Arduino sketch preprocessor converts .ino files into C++ code before compilationThe Arduino sketch preprocessor converts .ino files into C++ code before compilation
Milestone
Description
Sometime recently (77ed2f4 ) "#line" directives were added to the pre-processed code to make error messages better reflect the actual source code, instead of the pre-processed source code.
However, since the "#line" directives refer to the original file ("#line 1 Blink.ino"), which is not actually present in the build directory, dissassembly using "avr-objdump -S" cannot find the source to do a proper mixed source/assembly listing.
There are a couple of possible solutions:
- copy the .ino files into the build directory.
- use full paths to the original files in the "#line" directives.
- insist that the user use -I in the avr-objdump (change or add documentation.)
Metadata
Metadata
Assignees
Labels
Component: PreprocessorThe Arduino sketch preprocessor converts .ino files into C++ code before compilationThe Arduino sketch preprocessor converts .ino files into C++ code before compilation