Git Product home page Git Product logo

monodevelop.debugger.gdb.d's People

Contributors

llucenic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

michaelc37 abothe

monodevelop.debugger.gdb.d's Issues

Somtimes breakpoints dont get hit.

in my case it was not monodevelop was not hitting breakpoints if they were in a constructor (however it works with normal/base gdb plugin).

i tracked it down to DGdbBacktrace.CreateVarObject when called from GdbBacktrace.GetParameters. It might need try catch around the "return Variables.EvaluateVariable (exp);" similarly to the base GdbBacktrace.CreateVarObject ..

either of these worked for me, not sure which is better
1)
try {
return Variables.EvaluateVariable (exp);
} catch {
return base.CreateVarObject (exp);
}

  1.      try {
             return Variables.EvaluateVariable (exp);
         } catch {
             return ObjectValue.CreateUnknown (exp);
         }
    

I understand that this does not help fix the true problem of why an exception is occuring in the first place, but at least it does not prevent the breakpoints from being hit.

callstack when i noticed this behavior:
MonoDevelop.Debugger.Gdb.D.DGdbBacktrace.CreateVarObject (exp="this")
MonoDevelop.Debugger.Gdb.GdbBacktrace.GetParameters
MonoDevelop.Debugger.Gdb.D.DGdbBacktrace.GetParameters
Mono.Debugging.Client.StackFrame.GetParameters
MonoDevelop.Debugger.StackTracePad.EvaluateMethodName
MonoDevelop.Debugger.StackTracePad.Update
MonoDevelop.Debugger.StackTracePad.UpdateDisplay

BOM in gdb commands

When I'm try to debug D application I getting error:

MonoDevelop.Debugger.Gdb.GdbException: Undefined command: "".
Try "help".
at MonoDevelop.Debugger.Gdb.GdbSession.RunCommand
(System.String command, System.String[] args) [0x00000] in
:0
at MonoDevelop.Debugger.Gdb.GdbSession.OnRun
(Mono.Debugging.Client.DebuggerStartInfo startInfo) [0x00000] in
:0
at
Mono.Debugging.Client.DebuggerSession+c__AnonStorey6.<>m__3
() [0x00000] in :0

And in Application Output window:

\357\273\277-inferior-tty-set /dev/pts/2
Undefined command: "". Try "help".

Where \357\273\277 is unicode byte order mark.

The same result i'm got when created and run "hello world" C
console project. When I disabled plugin everything went ok.

MonoDevelop 4.2.3 under Arch Linux

Mono-D 1.6.7 & D gdb debug plugin 0.2.6

Xamarin studio support

I am currently running Xamarin studio 5.1 and when i attempted to install, I encountered an error saying i have missing dependencies
MonoDevelop.Core v4.0, found v5.1
MonoDevelop.Ide v4.0, found v5.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.