• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

debug ATL ASP component

There was a previous question that answered this with:

Drag and Drop the ATL COM in a MTS package,


Add MTS exe PATH in project->settings->debug->"Executable for debug session"

C:\winnt\system32\mtx.exe

AND in the "Programs arguments" Add the COM's CLSID(in MTS package over ATL COM rigth click->properties)

/p:{CLSID}

Click OK

Set breakpoints in your code..

press F5

Open your Browser and call your asp that uses the ATL COM

Debug stop in the first breakpoint

is a god method, I use this

----------------------------------
MY QUESTION:
----------------------------------

After setup as described above and press F5:
 
Loaded 'C:\WINNT\system32\mtx.exe', no matching symbolic information found.
Loaded 'C:\WINNT\System32\ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mtxinfr1.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\KERNEL32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\RPCRT4.DLL', no matching symbolic information found.
Loaded symbols for 'C:\WINNT\system32\msvcrt.dll'
Loaded 'C:\WINNT\system32\mtxperf.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\OLE32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mtxinfr2.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mtxrn.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\OLEAUT32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\NETAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\netrap.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SAMLIB.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\RPCLTC1.DLL', no matching symbolic information found.
The thread 0x10F has exited with code 0 (0x0).
The program 'C:\WINNT\system32\mtx.exe' has exited with code 0 (0x0).

Do I just need the symbol files for NT or is there something else?

Thanks.
0
eeuserex
Asked:
eeuserex
1 Solution
 
kanejinCommented:
Make sure you are register your debug version of Component.
:-)

and check your package setting in your mts explorer.

If you choose "Library Package" as your "Package Activation Type"
Just put your client program name in
project->settings->debug->"Executable for debug session"

set breakpoint
Then press F5, you can debug it.

If you choose "Server Package" as your "Package Activation Type"

Add MTS exe PATH in project->settings->debug->"Executable for debug session"
 C:\winnt\system32\mtx.exe

 AND in the "Programs arguments"
Add the COM's CLSID(in MTS package over ATL COM rigth
click->properties)

 /p:{CLSID}

Click OK

 Set breakpoints in your code..

 press F5

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now