Solved

debug ATL ASP component

Posted on 2000-02-17
1
241 Views
Last Modified: 2013-11-25
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
Comment
Question by:eeuserex
1 Comment
 
LVL 1

Accepted Solution

by:
kanejin earned 50 total points
ID: 2533965
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

861 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