3 Replies - 1044 Views - Last Post: 16 February 2012 - 07:26 AM Rate Topic: -----

#1 Gadge  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 35
  • Joined: 08-April 09

Debugging a published application

Posted 15 February 2012 - 02:35 PM

Hi,

Sorry I know this is pretty poor / likely a stupid question but I am searching google and completely failing to find the answer.

I have published my first application which is causing problems only when published. I have no idea how to follow the code through to find out which part of the code is throwing up the error.

I dont know if there is a method to emulate the publishing process? since when building the client it seems to work perfectly fine, and I cannot reproduce the error.

I did read some information regarding the 'attach to process' option under the debug menu but i'm still fairly clueless on how I do this / if this is what I need to do.

Any help would be great thanks.

Is This A Good Question/Topic? 0
  • +

Replies To: Debugging a published application

#2 Gadge  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 35
  • Joined: 08-April 09

Re: Debugging a published application

Posted 15 February 2012 - 03:34 PM

I went directly to the application folder in the \AppData\Local\Apps\2.0\... folder and the application works perfectly fine so it looks like its something to do with the 'ClickOnce' process.

Anything to look out for?
Was This Post Helpful? 0
  • +
  • -

#3 RexGrammer  Icon User is offline

  • Coding Dynamo
  • member icon

Reputation: 182
  • View blog
  • Posts: 783
  • Joined: 27-October 11

Re: Debugging a published application

Posted 16 February 2012 - 05:09 AM

If you're looking for a tutorial on the 'Attach to Running Process' functionality of VS then take a look at some of these articles:

How to: Attach to a Running Process
Debugging with Attach to Process
Quick attach to process in Visual Studio

But you don't have to do that to debug a release version:

You can take a look at these articles:
How to: Debug a Release Build
Debugging Release Mode Problems

And if you don't find these articles satisfactory, you can always google for it yourself:
debugging release builds visual studio
visual studio attach to running process tutorial
Was This Post Helpful? 0
  • +
  • -

#4 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1526
  • View blog
  • Posts: 5,961
  • Joined: 21-March 08

Re: Debugging a published application

Posted 16 February 2012 - 07:26 AM

What is the actual problem?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1