disassembly

A

Andrew

Hi all,

This morning the application ran smoothly. But just now when I debug n rerun
it again, this problem emerged.

I get the following message pop-up when running my application.
eg:

There is no source code available for the current location.
[Show disassembly] button

I don't understand what the contents of the disassembly window means.

There is a link to "C:\HL7\nHapi.Base\SupportClass.cs", which is actually
not the file directory I was referring to. Anyway, I put a copy of my file in
that directory, but still there is the same result.

--- C:\HL7\nHapi.Base\SupportClass.cs
------------------------------------------
00000000 push edi
00000001 push esi
00000002 mov esi,ecx
00000004 mov edi,edx
00000006 cmp dword ptr ds:[011094C8h],0
0000000d je 00000014
0000000f call 794C0C27
00000014 push dword ptr [esp+10h]
00000018 mov edx,edi
0000001a mov ecx,esi
0000001c call dword ptr ds:[04C40614h]
00000022 nop
00000023 mov eax,dword ptr [esp+0Ch]
00000027 mov byte ptr [esi+14h],al
0000002a nop
0000002b pop esi
0000002c pop edi
0000002d ret 8

Any advice ?
Thanks.

Regards,
Andrew
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

It means that you have no source code for that piece of code. You are seeing
IL the equivalent of assembly language in .NET
 
A

Andrew

Thanks for your reply.

The funny thing is that it was working this morning, but now it is not
working. And right now, I am looking at the code for that class. VS must not
be detecting the source code for that class. Not sure why the sudden.

Thanks
Andrew

Ignacio Machin ( .NET/ C# MVP ) said:
Hi,

It means that you have no source code for that piece of code. You are seeing
IL the equivalent of assembly language in .NET

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
Andrew said:
Hi all,

This morning the application ran smoothly. But just now when I debug n
rerun
it again, this problem emerged.

I get the following message pop-up when running my application.
eg:

There is no source code available for the current location.
[Show disassembly] button

I don't understand what the contents of the disassembly window means.

There is a link to "C:\HL7\nHapi.Base\SupportClass.cs", which is actually
not the file directory I was referring to. Anyway, I put a copy of my file
in
that directory, but still there is the same result.

--- C:\HL7\nHapi.Base\SupportClass.cs
------------------------------------------
00000000 push edi
00000001 push esi
00000002 mov esi,ecx
00000004 mov edi,edx
00000006 cmp dword ptr ds:[011094C8h],0
0000000d je 00000014
0000000f call 794C0C27
00000014 push dword ptr [esp+10h]
00000018 mov edx,edi
0000001a mov ecx,esi
0000001c call dword ptr ds:[04C40614h]
00000022 nop
00000023 mov eax,dword ptr [esp+0Ch]
00000027 mov byte ptr [esi+14h],al
0000002a nop
0000002b pop esi
0000002c pop edi
0000002d ret 8

Any advice ?
Thanks.

Regards,
Andrew
 
B

Ben Voigt [C++ MVP]

Ignacio said:
Hi,

It means that you have no source code for that piece of code. You are
seeing IL the equivalent of assembly language in .NET

That looks to me like native x86 assembly, not MSIL. Instruction addresses
are relative to the start of the function.
Hi all,

This morning the application ran smoothly. But just now when I debug
n rerun
it again, this problem emerged.

I get the following message pop-up when running my application.
eg:

There is no source code available for the current location.
[Show disassembly] button

I don't understand what the contents of the disassembly window means.

There is a link to "C:\HL7\nHapi.Base\SupportClass.cs", which is
actually not the file directory I was referring to. Anyway, I put a
copy of my file in
that directory, but still there is the same result.

--- C:\HL7\nHapi.Base\SupportClass.cs
------------------------------------------
00000000 push edi
00000001 push esi
00000002 mov esi,ecx
00000004 mov edi,edx
00000006 cmp dword ptr ds:[011094C8h],0
0000000d je 00000014
0000000f call 794C0C27
00000014 push dword ptr [esp+10h]
00000018 mov edx,edi
0000001a mov ecx,esi
0000001c call dword ptr ds:[04C40614h]
00000022 nop
00000023 mov eax,dword ptr [esp+0Ch]
00000027 mov byte ptr [esi+14h],al
0000002a nop
0000002b pop esi
0000002c pop edi
0000002d ret 8

Any advice ?
Thanks.

Regards,
Andrew
 
A

Andrew

Do you think the problem has to do with the adding of "Add References" of my
related .dll files ?

Do it involve the SN.exe in Framework 2 ?

cheers
Andrew

Ben Voigt said:
Ignacio said:
Hi,

It means that you have no source code for that piece of code. You are
seeing IL the equivalent of assembly language in .NET

That looks to me like native x86 assembly, not MSIL. Instruction addresses
are relative to the start of the function.
Hi all,

This morning the application ran smoothly. But just now when I debug
n rerun
it again, this problem emerged.

I get the following message pop-up when running my application.
eg:

There is no source code available for the current location.
[Show disassembly] button

I don't understand what the contents of the disassembly window means.

There is a link to "C:\HL7\nHapi.Base\SupportClass.cs", which is
actually not the file directory I was referring to. Anyway, I put a
copy of my file in
that directory, but still there is the same result.

--- C:\HL7\nHapi.Base\SupportClass.cs
------------------------------------------
00000000 push edi
00000001 push esi
00000002 mov esi,ecx
00000004 mov edi,edx
00000006 cmp dword ptr ds:[011094C8h],0
0000000d je 00000014
0000000f call 794C0C27
00000014 push dword ptr [esp+10h]
00000018 mov edx,edi
0000001a mov ecx,esi
0000001c call dword ptr ds:[04C40614h]
00000022 nop
00000023 mov eax,dword ptr [esp+0Ch]
00000027 mov byte ptr [esi+14h],al
0000002a nop
0000002b pop esi
0000002c pop edi
0000002d ret 8

Any advice ?
Thanks.

Regards,
Andrew
 
B

Ben Voigt [C++ MVP]

Andrew said:
Do you think the problem has to do with the adding of "Add
References" of my related .dll files ?

You should use a project reference instead of a dll file reference, whenever
possible. That could help with what you're seeing. Also check the option
"Just My Code" under the global Visual Studio debugger settings.
Do it involve the SN.exe in Framework 2 ?

cheers
Andrew

Ben Voigt said:
Ignacio said:
Hi,

It means that you have no source code for that piece of code. You
are seeing IL the equivalent of assembly language in .NET

That looks to me like native x86 assembly, not MSIL. Instruction
addresses are relative to the start of the function.
Hi all,

This morning the application ran smoothly. But just now when I
debug n rerun
it again, this problem emerged.

I get the following message pop-up when running my application.
eg:

There is no source code available for the current location.
[Show disassembly] button

I don't understand what the contents of the disassembly window
means.

There is a link to "C:\HL7\nHapi.Base\SupportClass.cs", which is
actually not the file directory I was referring to. Anyway, I put a
copy of my file in
that directory, but still there is the same result.

--- C:\HL7\nHapi.Base\SupportClass.cs
------------------------------------------
00000000 push edi
00000001 push esi
00000002 mov esi,ecx
00000004 mov edi,edx
00000006 cmp dword ptr ds:[011094C8h],0
0000000d je 00000014
0000000f call 794C0C27
00000014 push dword ptr [esp+10h]
00000018 mov edx,edi
0000001a mov ecx,esi
0000001c call dword ptr ds:[04C40614h]
00000022 nop
00000023 mov eax,dword ptr [esp+0Ch]
00000027 mov byte ptr [esi+14h],al
0000002a nop
0000002b pop esi
0000002c pop edi
0000002d ret 8

Any advice ?
Thanks.

Regards,
Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top