-1

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?

4

3 に答える 3

1

[ブレークポイント] ウィンドウを開き、ブレークポイントを見つけて削除します。これは私を助けました...

于 2013-03-06T03:29:58.660 に答える
1

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

于 2009-12-29T11:58:46.777 に答える
0

デバッガーがソース コード ファイルを関連付けることができないプログラムのセクションに到達しました。これは、ソース コードを持っていないサード パーティ ソフトウェアのいずれかです。

または、ソースはあるが、デバッグ シンボル ファイル (PDB ファイル) がないため、デバッガーはデバッグされたコードをそのソース ファイルに関連付けることができません。このファイルには、テキスト ソース ファイル内の行と、コンパイラによってメソッドおよびメンバーに割り当てられたメモリ アドレスとの間のマッピングが含まれています。

このメッセージが表示されたときにドリルダウンしようとしているメソッドを指定していただけると助かります。

于 2009-12-29T12:09:39.860 に答える