Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

How to set Mastercam X3 for debugging


Recommended Posts

I am developing the C-Hook with Mastercam X3 under VS2005.

 

I set the Debugging settings in project properties as following:

Command: C:McamX3sdkdebugMastercam.exe

Working Directory: C:McamX3

 

When I start the debugger. the following message comes up:

 

Unable to start program 'C:McamX3sdkdebugMastercam.exe'.

 

This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log.

 

 

By the way, I can use the VS debugger with X2 with the similiar settings.

 

Anybody can tell me how to set the configuration for X3 debugging.

 

Any help will be appreciated.

 

Thanks!

Link to comment
Share on other sites

quote:

Q? Can you startup the debug version of X3 outside of Visual Studio?

 

A quick and easy test, just create a shortcut->

Target = C:McamX3SDKdebugMastercam.exe

Start in = C:mcamx3


Answer: I can't.

I tried to create a shorcut on the desktop with the settings you mentioned above.

 

I got a error message as following:

 

C:Macamx3sdkdebugMastercam.exe

This application has failed to start because the application configuration is incorrect. Reinstallting the applicatio may fix this problem.

 

By the way, there are following Mastercam versions installed on my computer:

Mastercam 9/X/X2/X3

 

If I change the settings of the Shortcut to be with X2, it works.

Target = C:McamXSDKdebugMastercam.exe

Start in = C:mcamx

Link to comment
Share on other sites

I get the same error. But it turns out you do not need to use Mcamx3sdkdebugMastercam.exe. Just point to the regular non-debug application Mcamx3Mastercam.exe and start it under debugger. You may get the pop-up message about Mastercam.exe not having debug information. Just ignore it, and the execution will stop at the break point in you C-hook.

Link to comment
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...