PC Review


Reply
Thread Tools Rate Thread

Unable to debug in vs 2008

 
 
aaa
Guest
Posts: n/a
 
      2nd Dec 2011
Hi all,

I am facing issue while debugging on vs 2008. i have windows service
whihc i want to debug.
but when i try to attach that service in vs2008, symbols are not
getting loaded.

i have both vs2008 and vs 2010 installed on system.
on vs 2010, symbopls are getting loaded properly.
but on vs2008 symbols are not getting loaded.

Same project i converted to 2008 and 2010.
can anyone please shed some light on it?

thanks.

 
Reply With Quote
 
 
 
 
aaa
Guest
Posts: n/a
 
      3rd Dec 2011
Hi,

thanks for reply.

Actually my project was initially created in vs 2010. but then in
2008, i created new project and just copied cs files from 2010.
What i am getting at a time of debugging is , the module window is not
loading symbols.
and in attach to process window,my process's type is displayed as
TSQL, X86. Where as in 2010, type is displayued as maanged with
verison as 4.0

I am not sure, but it look like 2008, not getting current version from
symbol file.

thanks...
 
Reply With Quote
 
 
 
 
Jason Keats
Guest
Posts: n/a
 
      3rd Dec 2011
aaa wrote:
> Hi all,
>
> I am facing issue while debugging on vs 2008. i have windows service
> whihc i want to debug.
> but when i try to attach that service in vs2008, symbols are not
> getting loaded.
>
> i have both vs2008 and vs 2010 installed on system.
> on vs 2010, symbopls are getting loaded properly.
> but on vs2008 symbols are not getting loaded.
>
> Same project i converted to 2008 and 2010.
> can anyone please shed some light on it?
>
> thanks.
>


Many have a console version of the program which they use to debug the
code, then when everything appears to be working they copy the relevant
files to their windows service.

If you're creating several windows services, then Topshelf may be worth
learning to use: http://topshelf-project.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving Error: Unable to copy file "obj\Debug\MyProject.xml" to "bin\Debug\MyProject.xml". Access to the path 'obj\Debug\Aegis.xml' is denied. Aegis CGatto Microsoft VB .NET 4 24th Jul 2010 12:09 AM
Unable to install TFS + SP1 in Windows Server 2008 + SQL 2008 Richard Medina Windows XP Setup 0 11th Nov 2008 08:08 PM
Visual C++ Debug Library. Debug Error! Abnormal program termination John Microsoft Outlook Discussion 1 25th Sep 2004 09:00 PM
What are the differneces between Debug script a and debug script b =?Utf-8?B?SU5UMjFI?= Windows XP General 0 3rd Aug 2004 02:45 PM
DEBUG Error - Visual C++ Debug Lib Ray W. Microsoft Outlook Discussion 1 2nd Jun 2004 03:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 AM.