How to debug a generic method

Hi, I do my fair share of developing in .net and use remote debugging in Visual Studio to that end. This works fine, until we come to generic methods. When my code enters the applyMethod() like so

var body = "<Item type='Method' action='gen_GetRequestFromActivity'><itm_type>"+ activityItemType +"</itm_type><itm_id>"+ thisId +"</itm_id></Item>";
var partRequest = inn.applyMethod("gen_GetRequestFromActivity", body); 
it either completes or throws exception (mostly the latter). I would really like to enter my "gen_GetRequestFromActivity()" method implementation and set a breakpoint to see what happens inside of it. I have putting the ol'

if (System.Diagnostics.Debugger.IsAttached)
{
    System.Diagnostics.Debugger.Break();
}
at the top of the generic method, to no avail. How do I get to debug the generic method when called from another method? Thanks in advance Carsten
Parents Reply Children
No Data