Running and debugging programs with xmake

2016/07/16 18:46
Reading number 845

By default, xmake can run the specified target program through the following commands after compiling the program:

 xmake run [target] [arguments] ...

In addition, under linux/macosx, the associated debugger is currently supported to debug the specified target directly. You only need to add -d/--debug Parameter options:

 xmake run -d [target] [arguments] ...

By default, xmake uses lldb under macosx and gdb under linux. Debugger xmake will automatically detect when configuring. If you need to specify a debugger path, you can manually configure it:

 xmake f --debugger=/usr/bin/gdb xmake run -d demo

It should be noted that there is no support on Windows at present, but it is planned to support it in the near future..


Expand to read the full text
Loading
Click to lead the topic 📣 Post and join the discussion 🔥
Reward
zero comment
zero Collection
zero fabulous
 Back to top
Top