User forums > Using Code::Blocks

GDB

<< < (7/8) > >>

scarphin:
Shell script, ;/ that shouldn't be the way to implement it imo. Macros won't be of any importance if a xhell script will be used. I stll think implementing the 'additional shell commands' in the gui would be the best way but never mind if it can't be done, codeblocks is more that enough for lots of things. ;) Thnx anyway.

oBFusCATed:
What is the problem with the shell script? Why don't you like it?
You could try to execute the "shell avahi ...  &" but I don't think it will work.

I prefer to have only one GUI, less code => less bugs :)

scarphin:
The reason I don't like shell script is it will be OS dependant and macros cannot be used. Apart from that it will be debugger dependent. By GUI I meant the splitted debugger GUI, the general one for all debuggers which u are trying to split afaik. I perefer also less code => less bugs. ;) As I said before that's just my thoughts as a user using cb for embedded programming mostly and as always I am grateful for what's done so far. ;) Thnk u.

What's 'avahi' btw?

Another idea: Can gdb be adjusted to not wait till the shell command exits somehow?

oBFusCATed:

--- Quote from: scarphin on February 15, 2011, 04:43:08 pm ---The reason I don't like shell script is it will be OS dependant and macros cannot be used.

--- End quote ---
1. The can be used to abstract OS differences
2. Shell scripts can have parameters, so macros can be used.


--- Quote from: scarphin on February 15, 2011, 04:43:08 pm ---Apart from that it will be debugger dependent. By GUI I meant the splitted debugger GUI, the general one for all debuggers which u are trying to split afaik.

--- End quote ---
The GUI in the project is not common for all debuggers. It has not split at the moment.


--- Quote from: scarphin on February 15, 2011, 04:43:08 pm ---What's 'avahi' btw?

--- End quote ---
Replace it with the real command you've used, it thought mistake :)


--- Quote from: scarphin on February 15, 2011, 04:43:08 pm ---Another idea: Can gdb be adjusted to not wait till the shell command exits somehow?

--- End quote ---
Ask on the gdb's mailing list or in #gdb @ irc.freenode.net or .org (not 100% sure).

scarphin:

--- Quote from: oBFusCATed on February 15, 2011, 05:04:18 pm ---
--- Quote from: scarphin on February 15, 2011, 04:43:08 pm ---Another idea: Can gdb be adjusted to not wait till the shell command exits somehow?

--- End quote ---
Ask on the gdb's mailing list or in #gdb @ irc.freenode.net or .org (not 100% sure).

--- End quote ---

Ok, will try, thnx. I guess I need to learn to code in C++ (working on it though) to become aware of some things. ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version