Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] Line Dynamic line printf - breakpoints

Hi Emmanuel,

Yes, if a use such an condition (as you noted below) it works fine. However using the stock breakpoint type (context menu: "Add Dynamic-Printf...") it generates an breakpoint with empty condition, but with a special text field describing the printf string. Such a breakpoint just stop (unexpectedly), and show no output in the dpringf virtual stream. What is needed to make this work?

cheers,
Conny


Am 2014-12-04 11:29, schrieb Touron, Emmanuel:
Hi Conny,

Dynamic printf in TCF are just regular breakpoint with a special
condition such as :
$printf("text to print with a counter %d", mycounter)
The condition is evaluated as an expression when the bp is hit, and
the result is sent to the dprintf virtual stream.

Emmanuel

-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx]
On Behalf Of Konrad Anheim
Sent: Thursday, December 04, 2014 10:19 AM
To: Tcf Dev
Subject: [tcf-dev] Line Dynamic line printf - breakpoints

Hi,

I have troubles making a breakpoint of type "C/C++ Dynamic Printf" work.
It simply does nothing. How is the support of such breakpoint types in
the agents supposed to be working, or is it implemented on the Eclipse
side? Is this feature supported at all? Do I need the very latest
agent version to make it work?

cheers,
Conny


_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tcf-dev
_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tcf-dev


Back to the top