Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

debug on client's computer (without debugger?)
I have a VC++ application that just crashes on one tester/client's machine.
It runs fine everywhere else.

What are the other options to debug (on the client's machine) without
installing VC++ (on the clinet's machine)? Is this possible at all? Thanks.

WJ

Report this thread to moderator Post Follow-up to this message
Old Post
WJ
04-11-08 01:20 PM


RE: debug on client's computer (without debugger?)
To add some more details, this is a managed-unmanaged mixed application, not
a pure managed C++ application.

Thanks.

WJ

"WJ" wrote:

> I have a VC++ application that just crashes on one tester/client's machine
.
> It runs fine everywhere else.
>
> What are the other options to debug (on the client's machine) without
> installing VC++ (on the clinet's machine)? Is this possible at all? Thanks
.
>
> WJ

Report this thread to moderator Post Follow-up to this message
Old Post
WJ
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
WJ wrote:
> To add some more details, this is a managed-unmanaged mixed
> application, not a pure managed C++ application.
>
> Thanks.
>
> WJ
>
> "WJ" wrote:
> 

1st: Deploy your application with .pdb information.

2nd: Install a debugger who can understand a .pdb file like WinDbg (Debuggin
g
tools for Windows, freeware, 16/20Mb,
http://www.microsoft.com/whdc/devto...ng/default.mspx) or IDA Pro
(http://www.hex-rays.com/idapro/)

3rd: Run you application under the debugger.

Regards

--
Cholo Lennon
Bs.As.
ARG




Report this thread to moderator Post Follow-up to this message
Old Post
Cholo Lennon
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
Where should the .pdb files be installed? Thanks!

"Cholo Lennon" wrote:

> WJ wrote: 
>
> 1st: Deploy your application with .pdb information.
>
> 2nd: Install a debugger who can understand a .pdb file like WinDbg (Debugg
ing
> tools for Windows, freeware, 16/20Mb,
> http://www.microsoft.com/whdc/devto...ng/default.mspx) or IDA Pro
> (http://www.hex-rays.com/idapro/)
>
> 3rd: Run you application under the debugger.
>
> Regards
>
> --
> Cholo Lennon
> Bs.As.
> ARG
>
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
WJ
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
>I have a VC++ application that just crashes on one tester/client's machine.
>It runs fine everywhere else.
>
>What are the other options to debug (on the client's machine) without
>installing VC++ (on the clinet's machine)? Is this possible at all? Thanks.

Use the remote debugger - in later versions of VS you can run the
remote debugger on the client computer from a share on your dev
machine. In earlier versions it requires a minimal install of the
remote debugger component.

Dave

Report this thread to moderator Post Follow-up to this message
Old Post
David Lowndes
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
Hi David,
Will you please explain a little detail about the share part? Is the share
on the DEV machine or on the client's machine? And I assume you'll put Exe
and DLLs under the share? Thanks!

WJ

"David Lowndes" wrote:
 
>
> Use the remote debugger - in later versions of VS you can run the
> remote debugger on the client computer from a share on your dev
> machine. In earlier versions it requires a minimal install of the
> remote debugger component.
>
> Dave
>

Report this thread to moderator Post Follow-up to this message
Old Post
WJ
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
Hi Cholo,
Do you know if WinDBG supports managed-unmanaged mixed applications? I have
troulbe to get the symbol files loaded.

Thanks.

WJ

"Cholo Lennon" wrote:

> WJ wrote: 
>
> Usually in the same directory of your executable. Some debuggers allow you
 to
> load the pdb file from a custom location.
>
> --
> Cholo Lennon
> Bs.As.
> ARG
>
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
WJ
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
WJ wrote:
> Hi Cholo,
> Do you know if WinDBG supports managed-unmanaged mixed applications?
> I have troulbe to get the symbol files loaded.
>

AFAIK yes. Maybe you need SOS.dll. Take a look to:

"SOS: It's Not Just an ABBA Song Anymore"
http://msdn2.microsoft.com/es-ar/magazine/cc164138(en-us).aspx

"SOS Debugging Extension (SOS.dll)"
http://msdn2.microsoft.com/en-us/library/bb190764(VS.80).aspx

--
Cholo Lennon
Bs.As.
ARG




Report this thread to moderator Post Follow-up to this message
Old Post
Cholo Lennon
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
>Will you please explain a little detail about the share part? Is the share
>on the DEV machine or on the client's machine?

The share is on the machine you have VS installed on.

Have a look for "How to: Set Up Remote Debugging" on MSDN for more
information.

Dave

Report this thread to moderator Post Follow-up to this message
Old Post
David Lowndes
04-12-08 12:25 AM


Re: debug on client's computer (without debugger?)
Hi Cholo,
This may sould a dumb question -- I do need to copy source files to the
client computer also, correct?

Thanks.

WJ

"Cholo Lennon" wrote:

> WJ wrote: 
>
> AFAIK yes. Maybe you need SOS.dll. Take a look to:
>
> "SOS: It's Not Just an ABBA Song Anymore"
> http://msdn2.microsoft.com/es-ar/magazine/cc164138(en-us).aspx
>
> "SOS Debugging Extension (SOS.dll)"
> http://msdn2.microsoft.com/en-us/library/bb190764(VS.80).aspx
>
> --
> Cholo Lennon
> Bs.As.
> ARG
>
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
WJ
04-12-08 12:25 AM


Sponsored Links




Last Thread Next Thread Next
Pages (2): [1] 2 »
Search this forum -> 
Post New Thread

VC++ archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:56 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.