Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
December 19, 2015 Can't debug my solution | ||||
---|---|---|---|---|
| ||||
Hello, people! I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now. I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do? I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing? Thanks in advance! :) |
December 20, 2015 Re: Can't debug my solution | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matheus Reis | On Saturday, 19 December 2015 at 20:52:41 UTC, Matheus Reis wrote:
> Hello, people!
>
> I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now.
>
> I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do?
>
> I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing?
>
> Thanks in advance! :)
What is the OS?
Have you installed and activated GDB plugin?
If you are not doing something special, phobos functions are included in your executable already. So you shouldn't have any problem with it.
|
December 20, 2015 Re: Can't debug my solution | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matheus Reis | On Saturday, 19 December 2015 at 20:52:41 UTC, Matheus Reis wrote:
> Hello, people!
>
> I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now.
>
> I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do?
>
> I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing?
>
> Thanks in advance! :)
You dont happen to be on OSX?
|
December 20, 2015 Re: Can't debug my solution | ||||
---|---|---|---|---|
| ||||
Posted in reply to Israel | On Sunday, 20 December 2015 at 01:29:59 UTC, Israel wrote:
> On Saturday, 19 December 2015 at 20:52:41 UTC, Matheus Reis wrote:
>> Hello, people!
>>
>> I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now.
>>
>> I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do?
>>
>> I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing?
>>
>> Thanks in advance! :)
>
> You dont happen to be on OSX?
He's on Windows since he mentioned "phobos.lib" and not "libphobos2.a"
|
December 20, 2015 Re: Can't debug my solution | ||||
---|---|---|---|---|
| ||||
Posted in reply to tcak | Windows 10 (64-bit). I can't seem to find the GDB plugin (even tried searching for it in Xamarin's AddIn manager). The "phobos.lib missing" thing was happening when I was trying to use Code::Blocks, not an issue any more. Sorry about that, I'm not experienced with actual languages (since I use game engines to develop games, only). Actually, the debug thing is not a HUGE problem and I've been using D for some hours now and being able to make some cool stuff (like objects' array, dealing with files, etc) and show things via console. If there's no easy way to fix it, I can keep using it the way I am right now. I'm now concerned about libraries. Since I'm not used to languages, I've no clue on how to integrate them to my projects. I've tried to add the lib folder to my project's, but I can't import them that way. If I'm not bothering you, could you please help me with that? Thanks for the response! :) |
December 20, 2015 Re: Can't debug my solution | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matheus Reis | Got simpledisplay.d/color.d working by simply adding them to my project's folder and I'm now playing with it. What I've accomplished so far: http://i.imgur.com/aik9Ovj.gif (some objects from a class to draw circles in their position, and a simple collision check with screen borders) I'm pretty satisfied with the results, tbh. :DD As I said, I really liked the language and will keep trying to learn more about it, hoping to make a simple game sooner or later. |
Copyright © 1999-2021 by the D Language Foundation