Debugging Issue

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.
 
C

Craig Deelsnyder

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....
 
J

James

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top