What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Debugging plugins made with VC++...

Debugging plugins made with VC++...
Author: Message:
allex87
Junior Member
**

Avatar
Hmmm...

Posts: 99
36 / Male / –
Joined: Jul 2003
O.P. Roll Eyes  Debugging plugins made with VC++...
Does anyone know a way of debugging plugins with the VC++ debugger? And, please, don't tell me to add MessageBox b4 and after the line... i am doing it right now but it's annoying...

VC++ has a nice debugger, I was wondering if and how it can be used to debug :plus2: plugins...

Thanks.
[Image: signature.gif]
07-09-2003 03:00 AM
Profile E-Mail PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Debugging plugins made with VC++...
sure... add a call tyo DebugBreak() and select "debug" when you'll get the error message.... when youre in the VC deubbuger, looking at your code, just say to ignore the assertion and youre good to go.

The second sollution is to do something like
while(true)
   Sleep(100); <-- put a breakpoint here

When execution comes to this point, it will freeze.. attach your debugger to the messenger process, you'll break at the Sleep line.. then, just set the next execution point below the Sleep line.

Pick whatever sollution you prefer :)
Patchou
[Image: signature2.gif]
07-09-2003 05:11 AM
Profile PM Web Find Quote Report
Finn
Junior Member
**


Posts: 41
– / Male / –
Joined: Jul 2003
RE: RE: Debugging plugins made with VC++...
quote:
Originally posted by Patchou
sure... add a call tyo DebugBreak() and select "debug" when you'll get the error message.... when youre in the VC deubbuger, looking at your code, just say to ignore the assertion and youre good to go.


exactly what i do,  although i put the break in the initilise function so i can get it into the debugger on plugin startup and can then change whatever i want, put breakpoints where i want etc..
07-09-2003 07:12 AM
Profile PM Find Quote Report
allex87
Junior Member
**

Avatar
Hmmm...

Posts: 99
36 / Male / –
Joined: Jul 2003
O.P. RE: Debugging plugins made with VC++...
Works great! Thank you!
[Image: signature.gif]
07-09-2003 01:27 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On