[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Win
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows |
Date: |
Sat, 12 Sep 2020 05:10:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51 |
URL:
<https://savannah.gnu.org/bugs/?59100>
Summary: "__debug_octave__" doesn't work on Windows
Project: GNU Octave
Submitted by: mmuetzel
Submitted on: Sat 12 Sep 2020 11:10:06 AM CEST
Category: Octave Function
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.0.90
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
IIUC, running "__debug_octave__" on Windows should open an msys2 shell with a
running gdb that is attached to the Octave process.
Instead, gdb seems to execute shortly with some output in Octave's command
window:
>> __debug_octave__
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>>
"gdb" does not seem to run after that.
This is just an internal, undocumented function. And it doesn't look like any
harm is done. But it would still be nice if this could work as intended.
If I remove "async" from the "system" function arguments, it seems to work as
expected.
Contrary to expectations, "gdb" seems to have started asynchronously (i.e. not
blocking Octave).
Also, the second output argument isn't set:
>> [status, output] = system('start gdb', false)
status = 0
error: element number 2 undefined in return list
Maybe an error in the "system" function on Windows?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59100>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows,
Markus Mützel <=
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows, Rik, 2020/09/12
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows, John Donoghue, 2020/09/12
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows, Rik, 2020/09/13
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows, Markus Mützel, 2020/09/13
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows, Rik, 2020/09/13
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows, Rik, 2020/09/14
- [Octave-bug-tracker] [bug #59100] "__debug_octave__" doesn't work on Windows, Markus Mützel, 2020/09/15