Solved

Debug question

Posted on 2008-06-10
7
379 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
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

 
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET 2008 - SQL Timeout 9 34
bound data table problem 2 33
Autocomplete with Jquery Question 2 20
.NET Enums [Flags] & Bitwise Design Question 6 29
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

831 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