Solved

Debug question

Posted on 2008-06-10
7
374 Views
Last Modified: 2012-08-13
Hello, I am getting a "There is no source code available for the current location" when I try to debug my web application in VS 2005 debugger...

In the message box, I click the "Show Disassembly" button... this is what it shows...

 


--- d:\E\AjaxTk-AjaxControlToolkit\Release\AjaxControlToolkit\ExtenderBase\ScriptControlBase.cs
00000000  push        edi  
00000001  push        esi  
00000002  mov         esi,ecx
00000004  mov         edi,edx
00000006  cmp         dword ptr ds:[06501304h],0
0000000d  je          00000014
0000000f  call        72116FBF
00000014  mov         edx,5C5D318h
00000019  mov         ecx,7AC6078h
0000001e  call        72118B50
00000023  mov         edx,edi
00000025  mov         ecx,esi
00000027  call        FFFFF540
0000002c  mov         ecx,esi
0000002e  call        dword ptr ds:[07FE7FA8h]
00000034  nop              
00000035  pop         esi  
00000036  pop         edi  
00000037  ret


What do I need to do to get rid of this?  Thanks...
0
Comment
Question by:strong-daniel
  • 3
  • 2
  • 2
7 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 21759211
Is that a valid path for the source code to the AJAX control toolkit?  Have you built the code for the toolkit lately?
0
 
LVL 6

Expert Comment

by:Bruce_1975
ID: 21759441
A valid xxx.pdb file has to be in the same folder than the xxx.dll.

Regards,
Bruce
0
 

Author Comment

by:strong-daniel
ID: 21760125
Built the code for the toolkit???  No I haven't...   When you say built you mean recompile the whole Ajax toolkit?  Or you talking about reinstalling the latest version?

What is a .pdb file?  

I think that path is pointing toward a path on our server.  I developing on a network drive.  

I have been doing Ajax stuff for about 3 months now and this is the first time I have gotten this error.  

After I took the break points out, it worked fine.  Then I put a few break points in different areas of the code and it is working again.   It seems I only get this problems when I put break points in certain areas.  

0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 21760223
1) Did you download the control toolkit source code?

2) A .pdb is a debug file that container symbols to help you debug.

3) Developing on a network drive can be problematic sometimes.  There are better ways to share code, like using source control.

4) Where are you adding the break points when they don't work?
0
 
LVL 6

Assisted Solution

by:Bruce_1975
Bruce_1975 earned 250 total points
ID: 21760227
.pdb files are program database files required for debugging the application
http://msdn.microsoft.com/en-us/library/ms241903(VS.80).aspx
Without these files the debugger is not able to resolve the code line you are in.

Regards,
Bruce
0
 

Author Comment

by:strong-daniel
ID: 21760421
That you both for the info.  I appreciate it.

I have a web page that I am using a Ajax UpdatePanel and a Ajax Tab Control is on top of it.  

Basically the users goes to the page, selects a report name from a dropdownlist that is in the tab control, then the setups up the other dropdownlist and labels where the users can setup a query to to  get their crystal report.  

Here is the code it breaks on...   Which has really nothing to do with Ajax other than these controls sit on top of the Tab Control.


    Protected Sub DropDownListReportName_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownListReportName.SelectedIndexChanged
        If DropDownListReportName.Text = "Internal Final Report" Then
            CrystalReportViewer1.Visible = True
            Lbl_ToTextBox1.Visible = False
            Lbl_ToTextBox2.Visible = False

            TextBox1.Visible = False
            TextBox2.Visible = False

        End If

        If DropDownListReportName.Text = "Preliminary Environmental Findings" Then
            DropDownList1.Visible = True
        End If

        If DropDownListReportName.Text = "Preliminary Environmental Findings by FA" Then
            SqlDataSource1.SelectCommand = "SELECT DISTINCT [internal ECAMP data].[Functional Area] FROM [internal ECAMP data]"
            SqlDataSource1.DataBind()
            DropDownList1.DataTextField = "Functional Area"
            DropDownList1.Visible = True

            Lbl_ToDDList1.Text = "Functional Area"

            Lbl_ToTextBox1.Text = "Start Date:"
            Lbl_ToTextBox2.Text = "End Date:"

            Lbl_ToTextBox1.Visible = True
            Lbl_ToTextBox2.Visible = True

            TextBox1.Visible = True
            TextBox2.Visible = True

        End If

    End Sub
0
 

Author Closing Comment

by:strong-daniel
ID: 31465967
You both pointed me in the right direction with this.

Thanks...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now