Debugging Issue

  • Thread starter Thread starter James
  • Start date Start date
J

James

I start my ASP.NET application with Debugging. I set a breakpoint for a
certain line that references a DataTable. I open the immediate window and
do:

? dt.Rows.Count

This used to work, now I get:

"Run-time exception thrown : System.ArgumentException - Cannot find the
method on the object instance."

This is happening a lot. Is there some setting I may have screwed up? I
can't seem to get anything at runtime, other than Request variables.
 
James said:
I start my ASP.NET application with Debugging. I set a breakpoint for a
certain line that references a DataTable. I open the immediate window and
do:

? dt.Rows.Count

This used to work, now I get:

"Run-time exception thrown : System.ArgumentException - Cannot find the
method on the object instance."

This is happening a lot. Is there some setting I may have screwed up? I
can't seem to get anything at runtime, other than Request variables.

You're sure you're in immediate mode? Meaning there's not a > prompt in
the command window, at the beginning of the line where you're typing?
If there is a >, type 'immed' (no quotes) and hit enter.

Just a shot in the dark...there's 2 modes the commmand window can
operate in....
 
Yeah, it says Command Window - Immediate and there's no >. Driving me nuts.
For sake of argument, I ran > immed, but effectively nothing
happened...which was to be expected.
 
Back
Top