Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Debug exe

Debug exe

Scheduled Pinned Locked Moved C / C++ / MFC
questionvisual-studiodebuggingtutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    novachen
    wrote on last edited by
    #1

    Hi! I write a console execute in vc. It is called by other command line. How can i make vc ide into debug it when it is been called? How can set a break in some lines? I believe it is definitely possilbe in vc, but i don't know how to operate. Thanks!

    D 1 Reply Last reply
    0
    • N novachen

      Hi! I write a console execute in vc. It is called by other command line. How can i make vc ide into debug it when it is been called? How can set a break in some lines? I believe it is definitely possilbe in vc, but i don't know how to operate. Thanks!

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      To my knowledge, Visual Studio must start the application in order to debug it.

      A 1 Reply Last reply
      0
      • D David Crow

        To my knowledge, Visual Studio must start the application in order to debug it.

        A Offline
        A Offline
        Alexander M
        wrote on last edited by
        #3

        put __asm{ int 3 }; at the beginning of the code! when the exception is raised, attach visual studio debugger to it, voila Don't try it, just do it! ;-)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups