Bug 60611 - Getting Error in VS 2015 when hitting a breakpoint in an Xamarin PCL Project
Summary: Getting Error in VS 2015 when hitting a breakpoint in an Xamarin PCL Project
Status: NEW
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Debugger ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Joaquin Jares
URL:
Depends on:
Blocks:
 
Reported: 2017-11-10 05:29 UTC by mukeshkunder
Modified: 2017-11-10 05:29 UTC (History)
3 users (show)

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


Attachments
Error popped while adding breakpoint in Xamarin Forms Page (22.71 KB, image/png)
2017-11-10 05:29 UTC, mukeshkunder
Details


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 for Bug 60611 on Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:
Status:
NEW

Description mukeshkunder 2017-11-10 05:29:41 UTC
Created attachment 25634 [details]
Error popped while adding breakpoint in  Xamarin Forms Page

Similar Bug 28660 - [Visual Studio] Setting breakpoint throws exception message
status is closed but i am still getting the following issue.


Getting Error in VS 2015 when hitting a breakpoint in an Xamarin PCL Project

Building with Android 5.0  & Above

Microsoft Visual Studio Enterprise 2015
Version 14.0.25421.03 Update 3
Microsoft .NET Framework
Version 4.6.01055
Xamarin   4.3.0.795 (aece090)
Xamarin.Android   7.1.0.43 (3a62f1e)
Xamarin.iOS   10.6.0.9 (a05f40e)

Issue : 

1) Resolved pending breakpoint at 'RestService.cs:84,1'

Cannot set breakpoint on the specified IL offset.
System.ArgumentException: Cannot set breakpoint on the specified IL offset.
   at Mono.Debugger.Soft.VirtualMachine.ErrorHandler(Object sender, ErrorHandlerEventArgs args)
   at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
   at Mono.Debugger.Soft.Connection.EnableEvent(EventType etype, SuspendPolicy suspend_policy, List`1 mods)
   at Mono.Debugger.Soft.EventRequest.SendReq(List`1 mods)
   at Mono.Debugger.Soft.BreakpointEventRequest.Enable()
   at Mono.Debugging.Soft.SoftDebuggerSession.InsertBreakpoint(Breakpoint bp, BreakInfo bi, MethodMirror method, Int32 ilOffset)
   at Mono.Debugging.Soft.SoftDebuggerSession.InsertBreakpoint(Breakpoint bp, BreakInfo bi)
   at Mono.Debugging.Soft.SoftDebuggerSession.ResolvePendingBreakpoint(BreakInfo bi, Location l)
   at Mono.Debugging.Soft.SoftDebuggerSession.ResolveBreakpoints(TypeMirror type)
   at Mono.Debugging.Soft.SoftDebuggerSession.HandleTypeLoadEvents(TypeLoadEvent[] events)
   at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es)
   at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler()
Thread finished: <Thread Pool> #9
11-08 15:21:47.956 D/Mono    ( 1242): [0xb9f4b960] worker finishing
Thread finished: <Thread Pool> #8
11-08 15:21:52.528 D/Mono    ( 1242): [0xb967c900] worker finishing
Thread finished: <Thread Pool> #2
Thread finished: <Thread Pool> #3
11-08 15:22:08.896 D/Mono    ( 1242): [0xb964ffc0] worker finishing
The thread 'Unknown' (0x9) has exited with code 0 (0x0).
The thread 'Unknown' (0x8) has exited with code 0 (0x0).
The thread 'Unknown' (0x2) has exited with code 0 (0x0).
The thread 'Unknown' (0x3) has exited with code 0 (0x0).

2) BreakPoints not getting hit only on Xamarin Forms Pages, but its getting hit in MainActivity.cs & App.xaml.cs