dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: How do I set a breakpoint in an attached process in visual studio

Hybrid View

  1. #1
    Join Date
    Jun 2018
    Posts
    4

    How do I set a breakpoint in an attached process in visual studio

    How do I set a breakpoint in an attached process in visual studio

    I have started a local host application and I attached a project in visual studio to this iexplorer process what was running the app. But I am unable to set break points in the code. I have tried to set break points but the errors says:

    "This breakpoint will not currently be hit. No symbols have been loaded for this document."

    Please advise.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,008

    Re: How do I set a breakpoint in an attached process in visual studio

    Was the application compiled with Visual Studio in debug mode and are the symbols available?

  3. #3
    Join Date
    Apr 2019
    Location
    Ahmedabad
    Posts
    7

    Re: How do I set a breakpoint in an attached process in visual studio


  4. #4
    Join Date
    Mar 2019
    Posts
    19

    Re: How do I set a breakpoint in an attached process in visual studio

    You can attach the Visual Studio debugger to a running process on a local or remote computer. After the process is running, select Debug > Attach to Process or press Ctrl+Alt+P in Visual Studio, and use the Attach to Process dialog to attach the debugger to the process.
    You can use Attach to Process to debug running apps on local or remote computers, debug multiple processes simultaneously, debug apps that weren't created in Visual Studio, or debug any app you didn't start from Visual Studio with the debugger attached. For example, if you're running an app without the debugger and hit an exception, you can then attach the debugger to the process running the app and begin debugging.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)