This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Python API - gdb.GdbError in convenience functions


Hi,

I need to signal an error in a convenience functions and tried to raise a GdbError exception.
Unfortunately, contrary to the behavior whit a command, the stack trace is displayed.
Is it the expected behavior ?
Is there a way to abort the execution of a command that calls a convenience function without a stack trace ?

Best regards,

Michel Metzger


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]