 |
 |
CodeWarrior and VirtualPC
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 1999
Status:
Offline
|
|
CodeWarrior on the Mac can compile for Windows and, from the Mac, debug an app running on a networked Windows PC.
Has anyone done this using VirtualPC? My research indicates it can't be done, but maybe I'm wrong. If you've gotten this to work, I'd really appreciate hearing how you did it. Thanks -- Rick
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status:
Offline
|
|
Do you mean remote debugging? (i.e. Debugger runs on Mac, file on Windows?) If so, I think you can do it on a Mac with two serial ports - you use a null modem cable on the serial ports - the debugger on the Mac reads the data on the port connected to the port which is used on the PC. I remember reading something like that in the CodeWarrior docs a few years ago.
The other thing you could do is install CodeWarrior for Windows on VPC, and debug your app from there.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 1999
Status:
Offline
|
|
Yes, I was referring to remote debugging. A few years ago it was done using serial ports between the Mac running CodeWarrior and the PC running the program being debugged, but I understand it's now done using ethernet. However, if VirtualPC is running on the same Mac as CodeWarrior, it doesn't make sense to have to run a cable out from the Mac and then back to itself... and plug into what, a second ethernet card?
At one time Metrowerks combined the Mac and Windows versions of CodeWarrior, and raised the price accordingly. Then they split it back into two products, and kept the higher price for each product. Ouch! I'd rather not buy the Windows version in addition to the Mac version if I can do the job with just the Mac version, running on just my Mac (no separate Windows box). I'm not very confident this is possible.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status:
Offline
|
|
Originally posted by Rick Johnson:
Yes, I was referring to remote debugging. A few years ago it was done using serial ports between the Mac running CodeWarrior and the PC running the program being debugged, but I understand it's now done using ethernet. However, if VirtualPC is running on the same Mac as CodeWarrior, it doesn't make sense to have to run a cable out from the Mac and then back to itself... and plug into what, a second ethernet card?
Oh, good question! Are you connected to a NAT router? If so, could you assign a different IP address manually to VPC rather than have it do it's automatic IP thingy that VPC does. (I don't know what they call the feature - I only have VPC 2.0 which needed a separate address.)
Good luck.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|