Sublime Forum

New plugin: SublimeGDB

#21

Thanks for the info, I should have said i’m already using it in a project file and it doesn’t seem to be working, would you mind posting that portion of your project file so I can see if i’m doing it correctly?

Many Thanks.

0 Likes

#22

Must say that I was thinking of SublimeClang whole time but SublimeGDB shouldn’t be different. My project file is something like this:

[code]{
“folders”:

	{
		"path": "desktop"
	}
],
"settings":
{
	"sublimeclang_options":
	
		"-Wall",
		"-Wno-switch",
		"-Wno-unused-parameter",
		"-Wno-format-y2k",
		"-Wno-parentheses",
		"-Wno-newline-eof",
		"-Wno-unknown-pragmas",
		"-Wno-microsoft",
		"-fshort-wchar",
		"-fno-exceptions",
		"-Wno-non-virtual-dtor",
		"-Wno-write-strings",
		"-Wno-overloaded-virtual",
		"-Ic:/workspace/desktop",
	]
}

}
[/code]

0 Likes

#23

Nice plugin!

I’m trying to use it for embedded development. Often this involves issuing several commands, e.g erase the memory, load the binary, reset etc etc.

So it would be ‘nice’ if exec_cmd could also be a list of commands, rather than having to put all the commands in one string.

0 Likes

#24

[quote=“badger”]Nice plugin!

I’m trying to use it for embedded development. Often this involves issuing several commands, e.g erase the memory, load the binary, reset etc etc.

So it would be ‘nice’ if exec_cmd could also be a list of commands, rather than having to put all the commands in one string.[/quote]

Same here. Great idea badger!

0 Likes

#25

I have implemented this idea and made a pull request.

0 Likes

#26

Hi,

Would it be possible to give me a basic setup example for linking this upto an android device?

Many Thanks

0 Likes

#27

Here’s what I do for android debugging.

0 Likes

#28

Thanks quarnster much appreciated.

0 Likes

#29

Hi, guys I am new in coding and i have a question… Could someone give me tutorial how to make SublimeGDB working on MAC OS X Mountine Lion, please? I am using ST2.

Thank you

0 Likes