www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - DLangIDE Cannot debug

reply Profile Anaysis <PA gotacha.com> writes:
I have modified the json to include debuginfo and such but I 
always get

DBG: Breakpoint binding error: No symbols have been loaded for 
this document.

"buildOptions": ["debugMode", "debugInfo", "debugInfoC", 
"alwaysStackFrame", "stackStomping"]

and

	"buildTypes":
	{
		"debug":
		{
			"buildOptions": ["debugMode", "debugInfo", "debugInfoC", 
"alwaysStackFrame", "stackStomping"]
		},
	}
Jan 31 2017
parent reply Vadim Lopatin <coolreader.org gmail.com> writes:
On Tuesday, 31 January 2017 at 11:36:30 UTC, Profile Anaysis 
wrote:
 I have modified the json to include debuginfo and such but I 
 always get

 DBG: Breakpoint binding error: No symbols have been loaded for 
 this document.

 "buildOptions": ["debugMode", "debugInfo", "debugInfoC", 
 "alwaysStackFrame", "stackStomping"]

 and

 	"buildTypes":
 	{
 		"debug":
 		{
 			"buildOptions": ["debugMode", "debugInfo", "debugInfoC", 
 "alwaysStackFrame", "stackStomping"]
 		},
 	}
What OS is it? There is such issue on OSX.
Feb 01 2017
parent reply Profile Anaysis <PA gotacha.com> writes:
On Wednesday, 1 February 2017 at 09:57:42 UTC, Vadim Lopatin 
wrote:
 What OS is it?
 There is such issue on OSX.
Windows :/
Feb 01 2017
parent reply Vadim Lopatin <coolreader.org gmail.com> writes:
On Wednesday, 1 February 2017 at 11:38:30 UTC, Profile Anaysis 
wrote:
 On Wednesday, 1 February 2017 at 09:57:42 UTC, Vadim Lopatin 
 wrote:
 What OS is it?
 There is such issue on OSX.
Windows :/
Try debugging 32bit build. mago-mi debugger currently doesn't support x64 debugging
Feb 02 2017
parent Profile Anaysis <PA gotacha.com> writes:
On Thursday, 2 February 2017 at 13:52:43 UTC, Vadim Lopatin wrote:
 On Wednesday, 1 February 2017 at 11:38:30 UTC, Profile Anaysis 
 wrote:
 On Wednesday, 1 February 2017 at 09:57:42 UTC, Vadim Lopatin 
 wrote:
 What OS is it?
 There is such issue on OSX.
Windows :/
Try debugging 32bit build. mago-mi debugger currently doesn't support x64 debugging
I used a build that you made and I was able to add breakpoints and step through. The stack is shown but no locals or autos. I think it was 32-bit. Might have been an issue with the version I build from the sources.
Feb 03 2017