View previous topic :: View next topic |
Author |
Message |
Xerpher
Joined: 09 May 2004 Posts: 13
|
Posted: Sun May 16, 2004 3:37 am Post subject: Compile from within Visual Studio |
|
|
Is there currently a way to compile D code straight from the Visual Studio IDE? |
|
Back to top |
|
|
Xerpher
Joined: 09 May 2004 Posts: 13
|
Posted: Mon May 17, 2004 10:41 pm Post subject: |
|
|
Anybody there? *hears echo* |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
|
Back to top |
|
|
Xerpher
Joined: 09 May 2004 Posts: 13
|
Posted: Mon May 17, 2004 11:26 pm Post subject: |
|
|
The instructions didn't seem to match up at all... possibly because I have .NET (aka, v7) now and not v6 |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Thu May 20, 2004 8:35 pm Post subject: Debugging a D program in MS Visual C++ |
|
|
On a related subject, Arcane Jill described a method to debug D apps with MS Visual C++ editor in the general D newsgroup: digitalmars.D:1608. |
|
Back to top |
|
|
Arcane Jill
Joined: 01 Jun 2004 Posts: 10
|
Posted: Tue Jun 01, 2004 12:49 am Post subject: |
|
|
That was I. But I don't use VC++ for writing code, only for debugging it. It's good for single-stepping through, seeing variable values, etc.
For writing code, I use TextPad, a cool text editor you can find at www.textpad.com. It can do syntax highlighting for D (you need the d.syn file I made, but I can send you that, or you could make your own). It also has definable tools, so I can just click on a menu item I've called "D - build Debug" and it will make my entire project without my having to leave that environment.
A separate command prompt window semi-permanently open in the exe directory serves as a quick and easy means to run the compiled and built program. (You can also persuade TextPad to run it, but in this case it's better not to, in case the program under development crashes).
Finally, VC++ is there to step through the code.
This may not be the best way of working, but it works for me. I'm very comfortable with TextPad, and I love being able to choose which words get highlighted and which don't (I can have my own function names colored).
Arcane Jill |
|
Back to top |
|
|
Nova
Joined: 18 Sep 2004 Posts: 23
|
Posted: Sun Oct 03, 2004 12:05 am Post subject: |
|
|
Arcane Jill wrote: | For writing code, I use TextPad, a cool text editor you can find at www.textpad.com. It can do syntax highlighting for D (you need the d.syn file I made, but I can send you that, or you could make your own). It also has definable tools, so I can just click on a menu item I've called "D - build Debug" and it will make my entire project without my having to leave that environment. |
Could anybody provide me with these for TextPad? Thanks. |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
|
Back to top |
|
|
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Sun Oct 03, 2004 10:56 pm Post subject: |
|
|
And here's to hoping your (Arcane Jill's) Textpad file is more up-to-date than mine. I think I advertise DMD 0.65 as the last appropriate version. Yikes, I'm old. You can still find it at http://www.penguinblotter.com/d, but wow, that's an old site I haven't thought about in a while.
BA _________________ I really like the vest! |
|
Back to top |
|
|
Nova
Joined: 18 Sep 2004 Posts: 23
|
Posted: Mon Oct 04, 2004 7:08 pm Post subject: |
|
|
Thanks, I've got it all setup now and love it =) |
|
Back to top |
|
|
|