Bug 3237 - Cannot set a breakpoint to brace
Summary: Cannot set a breakpoint to brace
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-02-06 12:45 UTC by Marek Safar
Modified: 2012-02-08 06:43 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description Marek Safar 2012-02-06 12:45:52 UTC
using System;

class C
{
	public static void Main ()
	{	// Set a breakpoint here
	}
}


Using Mono master the breakpoint is resolved but not hit

This is log from MD 

Resolved pending breakpoint at '/home/marek/Projects/c1/c1/Main.cs:6' to Void C:Main () [0x00000].
Comment 1 Marek Safar 2012-02-06 12:48:44 UTC
CC-ing Zoltan as it can be runtime issue
Comment 2 Zoltan Varga 2012-02-07 15:09:42 UTC
The line number table for Main is:

Line number table for method C:Main ():
IL0 -> /home/zovarga/work/Hello/Hello/Main.cs:7
IL0 -> /home/zovarga/work/Hello/Hello/Main.cs:7
Comment 3 Zoltan Varga 2012-02-08 06:43:23 UTC
Fixed. We now insert sequence points for all nop instructions, just like vs does.
Comment 4 Zoltan Varga 2012-02-08 06:43:39 UTC
-> fixed.