English 中文(简体)
Error "There is no source code available for the current location."
原标题:

I added the AjaxControlToolKit s sample DLL file as a reference to my web application. I used Mask text boxes on my pages.

While debugging the application, it first asked me to open MaskedEditExtender.cs file. So I just search it from my physical location and copied it in the Bin folder of the solution. Well ... now it is not asking for opening that file. But while debugging, after the content page, it debugs the master page as expected, but after just finishing debug of the master page, the debugger traverses to the MaskedEditExtender.cs file...

That is not much of an issue. That s fine (I am curious why this happening), but while debugging the MaskedEditExtender.cs file, it pop ups the message

There is no source code available for the current location."

with two buttons, "OK" and "Disassembly". What is this error? Why is it arriving? How do I avoid it?

最佳回答

You have arrive at a section of your program for which the debugger cannot associate a source code file. Either this is some third-party software for which you do not have the source code.

Or you have the source, but the debugger cannot associate the debugged code to that source file, since you are missing the debug symbols file (the PDB file). This file contains the mapping between the lines in the text source files and the memory address assigned by the compiler to your methods and members.

It could help if you would specify what method you are trying to drill down into when you get this message.

问题回答

You re missing the PDB file (program debug database) of the assembly where the exception occurs.

Open the Breakpoints window, locate the breakpoint, and delete it. This helped me...





相关问题
Installing scripts on IDA Pro

Around the net I ve seen reference to "scripts" for IDA Pro, but can t work out how to load or install them for IDA Pro 4.9 Freeware Version. How do I do this? In particular I wish to use PE Scripts.

Disassembling with python - no easy solution?

I m trying to create a python script that will disassemble a binary (a Windows exe to be precise) and analyze its code. I need the ability to take a certain buffer, and extract some sort of struct ...

Decompiling x86 PE binary to C?

I d like to know if there s any way to generate the C code of a x86 PE binary. I don t really need this, I just want to learn how some closed-source software are working. From my common sense, I think ...

Best/Easiest Language To Work With Disassembling

I m now thinking to develop a disassembler, but as I know that it s very hard to build a disassembler I want to know the best/easiest language to turn my dream into a reality, also, a tutorial ...

Making a simple assembly emulator

I am working on project that is detecting unknown Viruses, so I am going to build my small emulator that emulates the assembly code of the executable so I can detect whether it is a virus or not by ...

tell gdb to disassemble "unknown" code

is it possible to configure gdb in order to debug assembly code when there are no debug symbols or no sources available ? I mean showing assembly instruction by assembly instruction when performing a ...

热门标签