Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
public static void Main ()
string s1 = "a"; // Try to set a breakpoint here
#line 2 "fooo"
string o = "2";
#1: The breakpoint is not hit
#2: When the line file is not found, the user should be notified
#3: When the file is found still nothing seems to happen
#4: Most likely file checksum is not checked (didn't test this)
Note: tested with mono master only (requires the latest mcs)
This is party fixed now, the breakpoint is hit, and the stack trace pad shows the correct location, but md doesn't switch to 'fooo'.
useful link: http://msdn.microsoft.com/en-us/library/34dk387t%28v=vs.100%29.aspx
looks like we also need to implement #line hidden
Re. #4, AFAIK we don't have support for checking the debugger file checksums - I don't even know whether we can get them over the sdb protocol.
What are those checksums ?
it's MD5 checksum of source file content used during compilation
it's part of symbol file line entry
from IRC, it sounds like the remaining issue here other than not supporting other #line directive features such as 'hidden' (which sounds like it'd need to be implemented in the runtime?), is that /home/marek/Projects/c1/c1/fooo doesn't exist and that MD should ask the user where the real location is.
oh, and we should warn if md5sums mismatch, but there are different bugs for those issues already:
bug #2853 for checking md5sums
bug #2852 for asking the user for file locations that we can't find
closing this bug unless I am missing something?