Comment #33 on issue 2825 by [email protected]: breakpoint resolved to incorrect location
https://code.google.com/p/v8/issues/detail?id=2825

I believe I have found the source of the problem for our files. We concatenated our files using JUST the carriage return character without newline.

https://code.google.com/p/chromium/issues/detail?id=325702

Apparently if a lone CR character is present, it causes the breakpoint’s line number to be off. You can replace all these \r with \r\n or use a tool like Notepad++ to convert the EOL format to just use newline. (Edit -> EOL Conversion -> UNIX Format)

Looking into our maven antrun-plugin, we can do this while building with maven by setting the concat targets to eol="crlf".

Ex)
<concat destfile="${project.build.directory}/compressed-resources/js/${project.artifactId}.js" fixlastline="true" eol="crlf" append="yes"> <fileset dir="${project.build.directory}/external-resources/js/core" includes="*.js" />
</concat>


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to