473,396 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to debug

I'm trying to learn a little about VS 2008 and ASP.Net.

In trying to duplicate some of Scott Guthrie's examples using the new
LinqDataSource, I'm getting an error.
Input string was not in a correct format.
How would one go about debugging errors that occur with components such as
the LinqDataSource. In particular is there a way to trace the code executed
by a component such as the LinqDataSource?

Thanks
Jul 31 '07 #1
4 1734
* Thomas H. Lanier wrote, On 31-7-2007 23:14:
I'm trying to learn a little about VS 2008 and ASP.Net.

In trying to duplicate some of Scott Guthrie's examples using the new
LinqDataSource, I'm getting an error.
Input string was not in a correct format.
How would one go about debugging errors that occur with components such as
the LinqDataSource. In particular is there a way to trace the code executed
by a component such as the LinqDataSource?

Thanks

I usually set Visual Studio to break on all exceptions regardless of if
they're handled or not. that way you get an automatic breakpoint the
closest you can get to the actual error.

Maybe it helps.

Jesse
Jul 31 '07 #2
"Jesse Houwing" <je***********@nospam-sogeti.nlwrote in message
news:O%****************@TK2MSFTNGP02.phx.gbl...
I usually set Visual Studio to break on all exceptions regardless of if
they're handled or not. that way you get an automatic breakpoint the
closest you can get to the actual error.
Absolutely! Surely every serious developer does that...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 31 '07 #3
"Jesse Houwing" <je***********@nospam-sogeti.nlwrote in message
news:Oj**************@TK2MSFTNGP06.phx.gbl...
>>I usually set Visual Studio to break on all exceptions regardless of if
they're handled or not. that way you get an automatic breakpoint the
closest you can get to the actual error.

Absolutely! Surely every serious developer does that...

Are you serious or being sarcatic?
Perfectly serious.
I was pretty serious.
Indeed.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 1 '07 #4
* Mark Rae [MVP] wrote, On 1-8-2007 10:43:
"Jesse Houwing" <je***********@nospam-sogeti.nlwrote in message
news:Oj**************@TK2MSFTNGP06.phx.gbl...
>>>I usually set Visual Studio to break on all exceptions regardless of
if they're handled or not. that way you get an automatic breakpoint
the closest you can get to the actual error.

Absolutely! Surely every serious developer does that...

Are you serious or being sarcatic?

Perfectly serious.
>I was pretty serious.

Indeed.

phew ;)
Jesse
Aug 1 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Davy | last post by:
Hi all, I use VC and gcc/gdb to compile and debug C/C++ files. But I found some of the debug version of the compiled files are too large to be run in a small RAM. Can I compile C/C++ Debug...
4
by: emma middlebrook | last post by:
I have a question regarding asserting ... here's some code: string GetAssertMessage() { ... prepare a message string and return it... } void SomeMethod() { ...
7
by: Srinivasa Rao | last post by:
I have read in one article that when we compile the application in release mode, all the debug classes and properties will be automatically removed from the code. I tried to implement this thing by...
9
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
6
by: swartzbill2000 | last post by:
Hello, I have a VB 2005 Express project with a TraceListener-derived class to route Debug.Print output to a log file. It works fine for Debug builds. What is the correct combination of changes to...
6
by: pauldepstein | last post by:
To help me debug, I am writing a lot of information into a stream which I call debug. However, because of the large amount of time taken to print this information, I only want this printed while...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
0
by: BA | last post by:
I posted on this once before and could not get a solution, I am hoping someone can help. I have a very strange code debug behavior that I cannot make heads or tails of: I have c# code being...
1
by: gfergo | last post by:
Good Morning, I seem to be having a problem. I thought I could display detailed debugging information (including file name and line number) on a page using two different methods: 1.)...
3
by: rorni | last post by:
Hi, I'm porting code from Windows to HP-UX 11, compiling with g++. I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.