Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2004

Tip: Looking for answers? Try searching our database.

NEWBIE: How to insert DLL break point?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NewAlias - 05 Jun 2004 05:37 GMT
Hi
Keyords: .NET 2003 VC Win32 DLL __stdcall

I want to mark a break point in my DLL Function.

Already did:
Projetc | <project name> properties | Configuration properties |
Debugging |
Action.Attach = Yes
Debuggers.Debugger Type = Mixed

I marked the break point but it does not break, there is a '?'.

Thanks
William DePalo [MVP VC++] - 05 Jun 2004 17:44 GMT
> I want to mark a break point in my DLL Function.

There are several ways to go. Since you seem to be having trouble (my guess
is there is some confusion as to the executable that needs to be atached by
the debugger) I'd suggest adding the line

   DebugBreak();

immediately above the point in your DLL source where you require the
debugger. Recompile and relink your DLL. Run the application that loads it.
You should get a confirmation dialog that allows you to debug or terminate
the process.

Regards,
Will

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.