Message 1 of 3
Debug 2007objectArx with Visual Studio 2005
Not applicable
01-06-2007
06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am trying to debug the "fact" sample that comes with objectarx 2007 samples.
I can't. This is what i did
1)I modify the Project->properties->Debugging->Attach with value "yes". Then Compile and link with the "Debug" configuration, creating fact.arx
2) Run Autocad 2007
3) Attach the solution to acad.exe
Put a breakpoint in some part of the code, and get a warning "The breakpoint will not currently be hit. No symbols has been load for this document", which gives me bad thinkings about the future (of my debugging, till now)
4) Then when I load fact.arx, obviously it does not stop on the break point, although i can use fact.arx functions successfully.
Then I'll try with the option of debugging with the "Start Debugging" and calling acad.exe from Visual Studio, and get a message:
"Unable to attached. 'C:\Programs... acad.ex' is not running on 'PC4' "
Being PC4 my machine name.
Then I try to attach again, using the browse button for getting the name of the machine, which is PC4. Anything else that I put there (localhost, or ip) instead of PC4, make disappear all the Available Process.
So it seems, that the debugger does not recognize the name of my machine.
I disconnect from internet, and put down the firewall, and it still does not recognize it.
Any idea? Other people managed to debug? Thanks in advance.
I am trying to debug the "fact" sample that comes with objectarx 2007 samples.
I can't. This is what i did
1)I modify the Project->properties->Debugging->Attach with value "yes". Then Compile and link with the "Debug" configuration, creating fact.arx
2) Run Autocad 2007
3) Attach the solution to acad.exe
Put a breakpoint in some part of the code, and get a warning "The breakpoint will not currently be hit. No symbols has been load for this document", which gives me bad thinkings about the future (of my debugging, till now)
4) Then when I load fact.arx, obviously it does not stop on the break point, although i can use fact.arx functions successfully.
Then I'll try with the option of debugging with the "Start Debugging" and calling acad.exe from Visual Studio, and get a message:
"Unable to attached. 'C:\Programs... acad.ex' is not running on 'PC4' "
Being PC4 my machine name.
Then I try to attach again, using the browse button for getting the name of the machine, which is PC4. Anything else that I put there (localhost, or ip) instead of PC4, make disappear all the Available Process.
So it seems, that the debugger does not recognize the name of my machine.
I disconnect from internet, and put down the firewall, and it still does not recognize it.
Any idea? Other people managed to debug? Thanks in advance.