#!/bin/sh
-# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
-# file at the top-level directory of this distribution and at
-# http://rust-lang.org/COPYRIGHT.
-#
-# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-# option. This file may not be copied, modified, or distributed
-# except according to those terms.
# Exit if anything fails
set -e
that runs in a browser. This script invokes gdbgui with the Rust
pretty printers loaded.
-Simple usage : rust-gdbgui target\debug\myprog
-With arguments: rust-gdbgui 'target\debug\myprog arg1 arg2...'
+Simple usage : rust-gdbgui target/debug/myprog
+With arguments: rust-gdbgui 'target/debug/myprog arg1 arg2...'
(note the quotes)
loading executable' setting to avoid a 'File not found: main' warning
on startup.
-Instead, type 'main' into the file browser and you should get
+Instead, type 'main' into gdbgui's file browser and you should get
auto-completion on the filename. Just pick 'main.rs', add a breakpoint
by clicking in the line number gutter, and type 'r' or hit the Restart
icon to start your program running.